@aws-cdk_aws-apigatewayv2-integrations-alpha.HttpLambdaIntegrationProps

interface HttpLambdaIntegrationProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Apigatewayv2.Integrations.Alpha.HttpLambdaIntegrationProps
Gogithub.com/aws/aws-cdk-go/awscdkapigatewayv2integrationsalpha/v2#HttpLambdaIntegrationProps
Javasoftware.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpLambdaIntegrationProps
Pythonaws_cdk.aws_apigatewayv2_integrations_alpha.HttpLambdaIntegrationProps
TypeScript (source)@aws-cdk/aws-apigatewayv2-integrations-alpha ยป HttpLambdaIntegrationProps

Lambda Proxy integration properties.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigatewayv2_alpha from '@aws-cdk/aws-apigatewayv2-alpha';
import * as apigatewayv2_integrations_alpha from '@aws-cdk/aws-apigatewayv2-integrations-alpha';

declare const parameterMapping: apigatewayv2_alpha.ParameterMapping;
declare const payloadFormatVersion: apigatewayv2_alpha.PayloadFormatVersion;
const httpLambdaIntegrationProps: apigatewayv2_integrations_alpha.HttpLambdaIntegrationProps = {
  parameterMapping: parameterMapping,
  payloadFormatVersion: payloadFormatVersion,
};

Properties

NameTypeDescription
parameterMapping?๐Ÿ”นParameterMappingSpecifies how to transform HTTP requests before sending them to the backend.
payloadFormatVersion?๐Ÿ”นPayloadFormatVersionVersion of the payload sent to the lambda handler.

parameterMapping?๐Ÿ”น

Type: ParameterMapping (optional, default: undefined requests are sent to the backend unmodified)

Specifies how to transform HTTP requests before sending them to the backend.

See also: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html


payloadFormatVersion?๐Ÿ”น

Type: PayloadFormatVersion (optional, default: PayloadFormatVersion.VERSION_2_0)

Version of the payload sent to the lambda handler.

See also: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html