github.com/pmcatominey/terraform@v0.7.0-rc2.0.20160708105029-1401a52a5cc5/website/source/docs/providers/aws/r/api_gateway_rest_api.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_api_gateway_rest_api"
     4  sidebar_current: "docs-aws-resource-api-gateway-rest-api"
     5  description: |-
     6    Provides an API Gateway REST API.
     7  ---
     8  
     9  # aws\_api\_gateway\_rest\_api
    10  
    11  Provides an API Gateway REST API.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_api_gateway_rest_api" "MyDemoAPI" {
    17    name = "MyDemoAPI"
    18    description = "This is my API for demonstration purposes"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `name` - (Required) The name of the REST API
    27  * `description` - (Optional) The description of the REST API
    28  
    29  ## Attributes Reference
    30  
    31  The following attributes are exported:
    32  
    33  * `id` - The ID of the REST API
    34  * `root_resource_id` - The resource ID of the REST API's root