class
Amazonite::ApiGateway::CanarySettings
- Amazonite::ApiGateway::CanarySettings
- Reference
- Object
Overview
Configuration settings of a canary deployment.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/canary_settings.crConstructors
- .new(pull : JSON::PullParser)
- .new(percent_traffic : Float64 | Nil = nil, deployment_id : String | Nil = nil, stage_variable_overrides : Hash(String, String) | Nil = nil, use_stage_cache : 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. -
#deployment_id : String | Nil
The ID of the canary deployment.
-
#deployment_id=(deployment_id : String | Nil)
The ID of the canary deployment.
-
#hash(hasher)
See
Object#hash(hasher) -
#percent_traffic : Float64 | Nil
The percent (0-100) of traffic diverted to a canary deployment.
-
#percent_traffic=(percent_traffic : Float64 | Nil)
The percent (0-100) of traffic diverted to a canary deployment.
-
#stage_variable_overrides : Hash(String, String) | Nil
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary.
-
#stage_variable_overrides=(stage_variable_overrides : Hash(String, String) | Nil)
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary.
-
#use_stage_cache : Bool | Nil
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
-
#use_stage_cache=(use_stage_cache : Bool | Nil)
A Boolean flag to indicate whether the canary 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 percent (0-100) of traffic diverted to a canary deployment.
The percent (0-100) of traffic diverted to a canary deployment.
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. These stage variables are represented as a string-to-string map between stage variable names and their values.
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary. 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 deployment uses the stage cache or not.
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.