aws_api_gateway_rest_api
Provides an API Gateway REST API.
Example Usage
resource "aws_api_gateway_rest_api" "MyDemoAPI" {
name = "MyDemoAPI"
description = "This is my API for demonstration purposes"
}
Argument Reference
The following arguments are supported:
name
- (Required) The name of the REST APIdescription
- (Optional) The description of the REST API
Attributes Reference
The following attributes are exported:
id
- The ID of the REST APIroot_resource_id
- The resource ID of the REST API’s root
See the source of this document at Terraform.io