interface CfnIntegrationResponseV2Props
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnIntegrationResponseV2Props |
Java | software.amazon.awscdk.services.apigateway.CfnIntegrationResponseV2Props |
Python | aws_cdk.aws_apigateway.CfnIntegrationResponseV2Props |
TypeScript (source) | @aws-cdk/aws-apigateway » CfnIntegrationResponseV2Props |
⚠️ Deprecated: moved to package aws-apigatewayv2
Properties for defining a AWS::ApiGatewayV2::IntegrationResponse.
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 responseParameters: any;
declare const responseTemplates: any;
const cfnIntegrationResponseV2Props: apigateway.CfnIntegrationResponseV2Props = {
apiId: 'apiId',
integrationId: 'integrationId',
integrationResponseKey: 'integrationResponseKey',
// the properties below are optional
contentHandlingStrategy: 'contentHandlingStrategy',
responseParameters: responseParameters,
responseTemplates: responseTemplates,
templateSelectionExpression: 'templateSelectionExpression',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | AWS::ApiGatewayV2::IntegrationResponse.ApiId. |
| integration | string | AWS::ApiGatewayV2::IntegrationResponse.IntegrationId. |
| integration | string | AWS::ApiGatewayV2::IntegrationResponse.IntegrationResponseKey. |
| content | string | AWS::ApiGatewayV2::IntegrationResponse.ContentHandlingStrategy. |
| response | any | AWS::ApiGatewayV2::IntegrationResponse.ResponseParameters. |
| response | any | AWS::ApiGatewayV2::IntegrationResponse.ResponseTemplates. |
| template | string | AWS::ApiGatewayV2::IntegrationResponse.TemplateSelectionExpression. |
apiId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::IntegrationResponse.ApiId.
integrationId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::IntegrationResponse.IntegrationId.
integrationResponseKey
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::IntegrationResponse.IntegrationResponseKey.
contentHandlingStrategy?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::IntegrationResponse.ContentHandlingStrategy.
responseParameters?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::IntegrationResponse.ResponseParameters.
responseTemplates?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
(optional)
AWS::ApiGatewayV2::IntegrationResponse.ResponseTemplates.
templateSelectionExpression?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::IntegrationResponse.TemplateSelectionExpression.

.NET
Java
Python
TypeScript (