View source: R/apigateway_operations.R
apigateway_create_stage | R Documentation |
Creates a new Stage resource that references a pre-existing Deployment for the API.
See https://www.paws-r-sdk.com/docs/apigateway_create_stage/ for full documentation.
apigateway_create_stage(
restApiId,
stageName,
deploymentId,
description = NULL,
cacheClusterEnabled = NULL,
cacheClusterSize = NULL,
variables = NULL,
documentationVersion = NULL,
canarySettings = NULL,
tracingEnabled = NULL,
tags = NULL
)
restApiId |
[required] The string identifier of the associated RestApi. |
stageName |
[required] The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters. |
deploymentId |
[required] The identifier of the Deployment resource for the Stage resource. |
description |
The description of the Stage resource. |
cacheClusterEnabled |
Whether cache clustering is enabled for the stage. |
cacheClusterSize |
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness. |
variables |
A map that defines the stage variables for the new Stage resource.
Variable names can have alphanumeric and underscore characters, and the
values must match |
documentationVersion |
The version of the associated API documentation. |
canarySettings |
The canary deployment settings of this stage. |
tracingEnabled |
Specifies whether active tracing with X-ray is enabled for the Stage. |
tags |
The key-value map of strings. The valid character set is
[a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not
start with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.