interface CfnIntegrationV2Props
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnIntegrationV2Props |
Java | software.amazon.awscdk.services.apigateway.CfnIntegrationV2Props |
Python | aws_cdk.aws_apigateway.CfnIntegrationV2Props |
TypeScript (source) | @aws-cdk/aws-apigateway » CfnIntegrationV2Props |
⚠️ Deprecated: moved to package aws-apigatewayv2
Properties for defining a AWS::ApiGatewayV2::Integration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apigateway from '@aws-cdk/aws-apigateway';
declare const requestParameters: any;
declare const requestTemplates: any;
const cfnIntegrationV2Props: apigateway.CfnIntegrationV2Props = {
apiId: 'apiId',
integrationType: 'integrationType',
// the properties below are optional
connectionType: 'connectionType',
contentHandlingStrategy: 'contentHandlingStrategy',
credentialsArn: 'credentialsArn',
description: 'description',
integrationMethod: 'integrationMethod',
integrationUri: 'integrationUri',
passthroughBehavior: 'passthroughBehavior',
payloadFormatVersion: 'payloadFormatVersion',
requestParameters: requestParameters,
requestTemplates: requestTemplates,
templateSelectionExpression: 'templateSelectionExpression',
timeoutInMillis: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | AWS::ApiGatewayV2::Integration.ApiId. |
| integration | string | AWS::ApiGatewayV2::Integration.IntegrationType. |
| connection | string | AWS::ApiGatewayV2::Integration.ConnectionType. |
| content | string | AWS::ApiGatewayV2::Integration.ContentHandlingStrategy. |
| credentials | string | AWS::ApiGatewayV2::Integration.CredentialsArn. |
| description? | string | AWS::ApiGatewayV2::Integration.Description. |
| integration | string | AWS::ApiGatewayV2::Integration.IntegrationMethod. |
| integration | string | AWS::ApiGatewayV2::Integration.IntegrationUri. |
| passthrough | string | AWS::ApiGatewayV2::Integration.PassthroughBehavior. |
| payload | string | AWS::ApiGatewayV2::Integration.PayloadFormatVersion. |
| request | any | AWS::ApiGatewayV2::Integration.RequestParameters. |
| request | any | AWS::ApiGatewayV2::Integration.RequestTemplates. |
| template | string | AWS::ApiGatewayV2::Integration.TemplateSelectionExpression. |
| timeout | number | AWS::ApiGatewayV2::Integration.TimeoutInMillis. |
apiId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Integration.ApiId.
integrationType
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Integration.IntegrationType.
connectionType?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.ConnectionType.
contentHandlingStrategy?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.ContentHandlingStrategy.
credentialsArn?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.CredentialsArn.
description?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.Description.
integrationMethod?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.IntegrationMethod.
integrationUri?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.IntegrationUri.
passthroughBehavior?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.PassthroughBehavior.
payloadFormatVersion?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.PayloadFormatVersion.
requestParameters?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::Integration.RequestParameters.
requestTemplates?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::Integration.RequestTemplates.
templateSelectionExpression?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Integration.TemplateSelectionExpression.
timeoutInMillis?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
number
(optional)
AWS::ApiGatewayV2::Integration.TimeoutInMillis.

.NET
Java
Python
TypeScript (