Class: Aws::APIGateway::Types::CanarySettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::CanarySettings
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
When making an API call, you may pass CanarySettings data as a hash:
{
percent_traffic: 1.0,
deployment_id: "String",
stage_variable_overrides: {
"String" => "String",
},
use_stage_cache: false,
}
Configuration settings of a canary deployment.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#deployment_id ⇒ String
The ID of the canary deployment.
-
#percent_traffic ⇒ Float
The percent (0-100) of traffic diverted to a canary deployment.
-
#stage_variable_overrides ⇒ Hash<String,String>
Stage variables overridden for a canary release deployment, including new stage variables introduced in the canary.
-
#use_stage_cache ⇒ Boolean
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
Instance Attribute Details
#deployment_id ⇒ String
The ID of the canary deployment.
520 521 522 523 524 525 526 527 |
# File 'lib/aws-sdk-apigateway/types.rb', line 520 class CanarySettings < Struct.new( :percent_traffic, :deployment_id, :stage_variable_overrides, :use_stage_cache) SENSITIVE = [] include Aws::Structure end |
#percent_traffic ⇒ Float
The percent (0-100) of traffic diverted to a canary deployment.
520 521 522 523 524 525 526 527 |
# File 'lib/aws-sdk-apigateway/types.rb', line 520 class CanarySettings < Struct.new( :percent_traffic, :deployment_id, :stage_variable_overrides, :use_stage_cache) SENSITIVE = [] include Aws::Structure end |
#stage_variable_overrides ⇒ Hash<String,String>
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.
520 521 522 523 524 525 526 527 |
# File 'lib/aws-sdk-apigateway/types.rb', line 520 class CanarySettings < Struct.new( :percent_traffic, :deployment_id, :stage_variable_overrides, :use_stage_cache) SENSITIVE = [] include Aws::Structure end |
#use_stage_cache ⇒ Boolean
A Boolean flag to indicate whether the canary deployment uses the stage cache or not.
520 521 522 523 524 525 526 527 |
# File 'lib/aws-sdk-apigateway/types.rb', line 520 class CanarySettings < Struct.new( :percent_traffic, :deployment_id, :stage_variable_overrides, :use_stage_cache) SENSITIVE = [] include Aws::Structure end |