You must be logged in to view saved presets
Manages an API Gateway Documentation Version along with its associated REST API and Documentation Part.
resource "aws_api_gateway_documentation_part" "example" {
location {
type = "API"
}
properties = "{"description":"Example"}"
rest_api_id = aws_api_gateway_rest_api.example.id
}
resource "aws_api_gateway_documentation_version" "example" {
depends_on = ["aws_api_gateway_documentation_part.example"]
description = "Example description"
rest_api_id = aws_api_gateway_rest_api.example.id
version = "example_version"
}
resource "aws_api_gateway_rest_api" "example" {
name = "example_api"
}