aws apigateway create-stage

Creates a new Stage resource that references a pre-existing Deployment for the API

Options

NameDescription
--rest-api-id <string>[Required] The string identifier of the associated RestApi
--stage-name <string>[Required] The name for the Stage resource. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters
--deployment-id <string>[Required] The identifier of the Deployment resource for the Stage resource
--description <string>The description of the Stage resource
--cache-cluster-enabledWhether cache clustering is enabled for the stage
--no-cache-cluster-enabledWhether cache clustering is enabled for the stage
--cache-cluster-size <string>The stage's cache cluster size
--variables <map>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 [A-Za-z0-9-._~:/?#&=,]+
--documentation-version <string>The version of the associated API documentation
--canary-settings <structure>The canary deployment settings of this stage
--tracing-enabledSpecifies whether active tracing with X-ray is enabled for the Stage
--no-tracing-enabledSpecifies whether active tracing with X-ray is enabled for the Stage
--tags <map>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 aws:. The tag value can be up to 256 characters
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command