Resource: aws_apigatewayv2_integration_response

Manages an Amazon API Gateway Version 2 integration response. More information can be found in the Amazon API Gateway Developer Guide.

Example Usage

Basic

resource "aws_apigatewayv2_integration_response" "example" {
  api_id                   = aws_apigatewayv2_api.example.id
  integration_id           = aws_apigatewayv2_integration.example.id
  integration_response_key = "/200/"
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import aws_apigatewayv2_integration_response using the API identifier, integration identifier and integration response identifier. For example:

import {
  to = aws_apigatewayv2_integration_response.example
  id = "aabbccddee/1122334/998877"
}

Using terraform import, import aws_apigatewayv2_integration_response using the API identifier, integration identifier and integration response identifier. For example:

% terraform import aws_apigatewayv2_integration_response.example aabbccddee/1122334/998877