class
Amazonite::ApiGateway::DeploymentCanarySettings
- Amazonite::ApiGateway::DeploymentCanarySettings
- Reference
- Object
Overview
The input configuration for a canary deployment.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/deployment_canary_settings.crConstructors
- .new(pull : JSON::PullParser)
- .new(percent_traffic : Float64 | Nil = nil, stage_variable_overrides : Hash(String, String) | Nil = nil, use_stage_cache : Bool | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#percent_traffic : Float64 | Nil
The percentage (0.0-100.0) of traffic routed to the canary deployment.
-
#percent_traffic=(percent_traffic : Float64 | Nil)
The percentage (0.0-100.0) of traffic routed to the canary deployment.
-
#stage_variable_overrides : Hash(String, String) | Nil
A stage variable overrides used for the canary release deployment.
-
#stage_variable_overrides=(stage_variable_overrides : Hash(String, String) | Nil)
A stage variable overrides used for the canary release deployment.
-
#use_stage_cache : Bool | Nil
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
-
#use_stage_cache=(use_stage_cache : Bool | Nil)
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The percentage (0.0-100.0) of traffic routed to the canary deployment.
The percentage (0.0-100.0) of traffic routed to the canary deployment.
A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
A stage variable overrides used for the canary release deployment. They can override existing stage variables or add new stage variables for the canary release deployment. These stage variables are represented as a string-to-string map between stage variable names and their values.
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.
A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.