AwsApiGatewayManagedLambdaRouteIntegrationArgs

interface AwsApiGatewayManagedLambdaRouteIntegrationArgs { createInvokePermission?: boolean; function: AwsApiGatewayLambdaFunctionReference; targetArn?: undefined; type: 'lambda'; }

Managed Lambda route integration target definition.

Example

CODE
const integration: AwsApiGatewayManagedLambdaRouteIntegrationArgs = {
  type: 'lambda',
  function: lambdaFunction,
};

Properties

createInvokePermission: boolean

Whether to create the required Lambda resource-policy permission. Defaults to true.

function: AwsApiGatewayLambdaFunctionReference

Lambda function component reference.

targetArn: undefined

type: 'lambda'

Integration capability type.