aws::api-gateway-stage¶
Create a stage.
Example¶
aws::api-gateway-stage example-stage
api: $(aws::api example-api)
name: example-stage
description: "example-desc"
auto-deploy: false
default-route-settings
detailed-metrics-enabled: true
throttling-burst-limit: 2
throttling-rate-limit: 2
end
route-settings
key: 'ANY /api/example/route'
detailed-metrics-enabled: true
throttling-burst-limit: 2
throttling-rate-limit: 2
end
stage-variables: {
"exampleKey": "exampleValue"
}
tags: {
"example-key": "example-value"
}
end
Attributes¶
Attribute | Description |
---|---|
name | The name of the stage. (Required) |
access-log-settings subresource | The settings for logging access in this stage.
|
api | The API associated with the stage. (Required) |
auto-deploy | When set to true , updates to an API automatically trigger a new deployment. |
client-certificate-id | The ID of a client certificate for a Stage. |
default-route-settings subresource | The default route settings for the stage.
|
deployment | The deployment of the stage. |
description | The description for the stage. |
route-settings list subresource | The route settings (by routeKey) for the stage.
|
stage-variables map | The stage variables for a Stage. |
tags map | The list of tags for the stage. |
Outputs¶
Attribute | Description |
---|---|
arn | The ARN of the stage. |