Variable LambdaFunctionUrlSchemaConst
LambdaFunctionUrlSchema: ZodObject<
{
body: ZodOptional<ZodString>;
cookies: ZodOptional<ZodArray<ZodString>>;
headers: ZodRecord<ZodString, ZodString>;
isBase64Encoded: ZodBoolean;
pathParameters: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
queryStringParameters: ZodOptional<ZodRecord<ZodString, ZodString>>;
rawPath: ZodString;
rawQueryString: ZodString;
requestContext: ZodObject<
{
accountId: ZodString;
apiId: ZodString;
authentication: ZodOptional<
ZodNullable<
ZodObject<
{
clientCert: ZodOptional<
ZodObject<
{
clientCertPem: ...;
issuerDN: ...;
serialNumber: ...;
subjectDN: ...;
validity: ...;
},
$strip,
>,
>;
},
$strip,
>,
>,
>;
authorizer: ZodOptional<
ZodObject<
{
iam: ZodOptional<
ZodObject<
{
accessKey: ZodOptional<(...)>;
accountId: ZodOptional<(...)>;
callerId: ZodOptional<(...)>;
cognitoIdentity: ZodOptional<(...)>;
principalOrgId: ZodOptional<(...)>;
userArn: ZodOptional<(...)>;
userId: ZodOptional<(...)>;
},
$strip,
>,
>;
jwt: ZodOptional<
ZodObject<
{ claims: ZodRecord<(...), (...)>; scopes: ZodNullable<(...)> },
$strip,
>,
>;
lambda: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodAny>>>;
},
$strip,
>,
>;
domainName: ZodString;
domainPrefix: ZodString;
http: ZodObject<
{
method: ZodEnum<
{
DELETE: "DELETE";
GET: "GET";
HEAD: "HEAD";
OPTIONS: "OPTIONS";
PATCH: "PATCH";
POST: "POST";
PUT: "PUT";
},
>;
path: ZodString;
protocol: ZodString;
sourceIp: ZodIPv4;
userAgent: ZodString;
},
$strip,
>;
requestId: ZodString;
routeKey: ZodString;
stage: ZodString;
time: ZodString;
timeEpoch: ZodNumber;
},
$strip,
>;
routeKey: ZodString;
stageVariables: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodString>>>;
version: ZodString;
},
$strip,
> = ...
Zod schema for Lambda Function URL follows the API Gateway HTTP APIs Payload Format Version 2.0.
Keys related to API Gateway features not available in Function URL use a sentinel value (e.g.
routeKey
,stage
).