AWS::ApiGatewayV2::IntegrationResponseThe AWS::ApiGatewayV2::IntegrationResponse resource updates an integration response for an WebSocket API. For more information, see [Set up WebSocket API Integration Responses in API Gateway](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-integration-responses.html) in the *API Gateway Developer Guide*.
7 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ApiId | string | RequiredCreate-only |
IntegrationId | string | RequiredCreate-only |
IntegrationResponseKey | string | Required |
ContentHandlingStrategy | string | |
ResponseParameters | object | |
ResponseTemplates | object | |
TemplateSelectionExpression | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
IntegrationResponseId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ApiGatewayV2::IntegrationResponse
Resources:
MyResource:
Type: AWS::ApiGatewayV2::IntegrationResponse
Properties:
ApiId: "my-apiid"
IntegrationId: "my-integrationid"
IntegrationResponseKey: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
apigateway:POSTapigateway:GETapigateway:PATCHapigateway:PUTapigateway:GETapigateway:GETapigateway:DELETEapigateway:GETOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterApiIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ApiIdIntegrationId