» Resource: aws_apigatewayv2_route_response

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

» Example Usage

» Basic

resource "aws_apigatewayv2_route_response" "example" {
  api_id             = "${aws_apigatewayv2_api.example.id}"
  route_id           = "${aws_apigatewayv2_route.example.id}"
  route_response_key = "$default"
}

» Argument Reference

The following arguments are supported:

» Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • id - The route response identifier.

» Import

aws_apigatewayv2_route_response can be imported by using the API identifier, route identifier and route response identifier, e.g.

$ terraform import aws_apigatewayv2_route_response.example aabbccddee/1122334/998877