Expand description

AWS Lambda event definitions for apigw.

Structs

ApiGatewayCustomAuthorizerContext represents the expected format of an API Gateway custom authorizer response. Deprecated. Code should be updated to use the Authorizer map from APIGatewayRequestIdentity. Ex: Authorizer[“principalId”]

ApiGatewayCustomAuthorizerPolicy represents an IAM policy

ApiGatewayCustomAuthorizerRequest contains data coming in to a custom API Gateway authorizer function.

ApiGatewayCustomAuthorizerRequestTypeRequest contains data coming in to a custom API Gateway authorizer function.

ApiGatewayCustomAuthorizerRequestTypeRequestContext represents the expected format of an API Gateway custom authorizer response.

ApiGatewayCustomAuthorizerRequestTypeRequestIdentity contains identity information for the request caller including certificate information if using mTLS.

ApiGatewayCustomAuthorizerRequestTypeRequestIdentityClientCert contains certificate information for the request caller if using mTLS.

ApiGatewayCustomAuthorizerRequestTypeRequestIdentityClientCertValidity contains certificate validity information for the request caller if using mTLS.

ApiGatewayCustomAuthorizerResponse represents the expected format of an API Gateway authorization response.

ApiGatewayProxyRequest contains data coming from the API Gateway proxy

ApiGatewayProxyRequestContext contains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.

ApiGatewayProxyResponse configures the response to be returned by API Gateway for the request

ApiGatewayRequestIdentity contains identity information for the request caller.

ApiGatewayV2CustomAuthorizerSimpleResponse represents the simple format of an API Gateway V2 authorization response.

ApiGatewayV2httpRequest contains data coming from the new HTTP API Gateway

ApiGatewayV2httpRequestContext contains the information to identify the AWS account and resources invoking the Lambda function.

ApiGatewayV2httpRequestContextAuthentication contains authentication context information for the request caller including client certificate information if using mTLS.

ApiGatewayV2httpRequestContextAuthenticationClientCert contains client certificate information for the request caller if using mTLS.

ApiGatewayV2httpRequestContextAuthenticationClientCertValidity contains client certificate validity information for the request caller if using mTLS.

ApiGatewayV2httpRequestContextAuthorizerCognitoIdentity contains Cognito identity information for the request context.

ApiGatewayV2httpRequestContextAuthorizerDescription contains authorizer information for the request context.

ApiGatewayV2httpRequestContextAuthorizerIamDescription contains IAM information for the request context.

ApiGatewayV2httpRequestContextAuthorizerJwtDescription contains JWT authorizer information for the request context.

ApiGatewayV2httpRequestContextHttpDescription contains HTTP information for the request context.

ApiGatewayV2httpResponse configures the response to be returned by API Gateway V2 for the request

ApiGatewayWebsocketProxyRequest contains data coming from the API Gateway proxy

ApiGatewayWebsocketProxyRequestContext contains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.

IamPolicyStatement represents one statement from IAM policy with action, effect and resource