@aws-cdk_aws-apigatewayv2-integrations-alpha.HttpLambdaIntegrationProps
interface HttpLambdaIntegrationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Integrations.Alpha.HttpLambdaIntegrationProps |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2integrationsalpha/v2#HttpLambdaIntegrationProps |
![]() | software.amazon.awscdk.services.apigatewayv2.integrations.alpha.HttpLambdaIntegrationProps |
![]() | aws_cdk.aws_apigatewayv2_integrations_alpha.HttpLambdaIntegrationProps |
![]() | @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
Name | Type | Description |
---|---|---|
parameter | Parameter | Specifies how to transform HTTP requests before sending them to the backend. |
payload | Payload | Version of the payload sent to the lambda handler. |
parameterMapping?
Type:
Parameter
(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:
Payload
(optional, default: PayloadFormatVersion.VERSION_2_0)
Version of the payload sent to the lambda handler.