API Gateway Stage

An API Gateway Stage in AWS represents a specific deployment of an API Gateway API, serving as an environment where the API is accessible to clients. Stages allow you to manage different versions of your API, such as development, testing, and production, each with its own settings, logging, throttling, and caching configurations.

aws.apigatewayv2_stage

Fields

TitleIDTypeData TypeDescription
_keycorestring
access_log_settingscorejsonSettings for logging access in this stage.
account_idcorestring
api_gateway_managedcoreboolSpecifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
auto_deploycoreboolSpecifies whether updates to an API automatically trigger a new deployment. The default value is false.
client_certificate_idcorestringThe identifier of a client certificate for a Stage. Supported only for WebSocket APIs.
created_datecoretimestampThe timestamp when the stage was created.
default_route_settingscorejsonDefault route settings for the stage.
deployment_idcorestringThe identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.
descriptioncorestringThe description of the stage.
last_deployment_status_messagecorestringDescribes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
last_updated_datecoretimestampThe timestamp when the stage was last updated.
route_settingscorestringRoute settings for the stage, by routeKey.
stage_arncorestring
stage_namecorestringThe name of the stage.
stage_variablescorehstoreA map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
tagscorehstore