class
Amazonite::ApiGateway::CreateDeploymentRequest
- Amazonite::ApiGateway::CreateDeploymentRequest
- Reference
- Object
Overview
Requests API Gateway to create a Deployment resource.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/create_deployment_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(rest_api_id : String, stage_name : String | Nil = nil, stage_description : String | Nil = nil, description : String | Nil = nil, cache_cluster_enabled : Bool | Nil = nil, cache_cluster_size : CacheClusterSize | Nil = nil, variables : Hash(String, String) | Nil = nil, canary_settings : DeploymentCanarySettings | Nil = nil, tracing_enabled : Bool | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#cache_cluster_enabled : Bool | Nil
Enables a cache cluster for the Stage resource specified in the input.
-
#cache_cluster_enabled=(cache_cluster_enabled : Bool | Nil)
Enables a cache cluster for the Stage resource specified in the input.
-
#cache_cluster_size : CacheClusterSize | Nil
The stage's cache capacity in GB.
-
#cache_cluster_size=(cache_cluster_size : CacheClusterSize | Nil)
The stage's cache capacity in GB.
-
#canary_settings : DeploymentCanarySettings | Nil
The input configuration for the canary deployment when the deployment is a canary release deployment.
-
#canary_settings=(canary_settings : DeploymentCanarySettings | Nil)
The input configuration for the canary deployment when the deployment is a canary release deployment.
-
#description : String | Nil
The description for the Deployment resource to create.
-
#description=(description : String | Nil)
The description for the Deployment resource to create.
-
#hash(hasher)
See
Object#hash(hasher) -
#rest_api_id : String
The string identifier of the associated RestApi.
-
#rest_api_id=(rest_api_id : String)
The string identifier of the associated RestApi.
-
#stage_description : String | Nil
The description of the Stage resource for the Deployment resource to create.
-
#stage_description=(stage_description : String | Nil)
The description of the Stage resource for the Deployment resource to create.
-
#stage_name : String | Nil
The name of the Stage resource for the Deployment resource to create.
-
#stage_name=(stage_name : String | Nil)
The name of the Stage resource for the Deployment resource to create.
-
#tracing_enabled : Bool | Nil
Specifies whether active tracing with X-ray is enabled for the Stage.
-
#tracing_enabled=(tracing_enabled : Bool | Nil)
Specifies whether active tracing with X-ray is enabled for the Stage.
- #validate! : Nil
-
#variables : Hash(String, String) | Nil
A map that defines the stage variables for the Stage resource that is associated with the new deployment.
-
#variables=(variables : Hash(String, String) | Nil)
A map that defines the stage variables for the Stage resource that is associated with the new deployment.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Enables a cache cluster for the Stage resource specified in the input.
Enables a cache cluster for the Stage resource specified in the input.
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
The stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
The input configuration for the canary deployment when the deployment is a canary release deployment.
The input configuration for the canary deployment when the deployment is a canary release deployment.
The description for the Deployment resource to create.
The description of the Stage resource for the Deployment resource to create.
The description of the Stage resource for the Deployment resource to create.
The name of the Stage resource for the Deployment resource to create.
The name of the Stage resource for the Deployment resource to create.
Specifies whether active tracing with X-ray is enabled for the Stage.
Specifies whether active tracing with X-ray is enabled for the Stage.
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-._~:/?#&=,]+.
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-._~:/?#&=,]+.