aws apigateway create-deployment
Creates a Deployment resource, which makes a specified RestApi callable over the internet
Options
Name | Description |
---|---|
--rest-api-id <string> | [Required] The string identifier of the associated RestApi |
--stage-name <string> | The name of the Stage resource for the Deployment resource to create |
--stage-description <string> | The description of the Stage resource for the Deployment resource to create |
--description <string> | The description for the Deployment resource to create |
--cache-cluster-enabled | Enables a cache cluster for the Stage resource specified in the input |
--no-cache-cluster-enabled | Enables a cache cluster for the Stage resource specified in the input |
--cache-cluster-size <string> | Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled |
--variables <map> | A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+ |
--canary-settings <structure> | The input configuration for the canary deployment when the deployment is a canary release deployment |
--tracing-enabled | Specifies whether active tracing with X-ray is enabled for the Stage |
--no-tracing-enabled | Specifies whether active tracing with X-ray is enabled for the Stage |
--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 |