Class: Aws::ECS::Types::CanaryConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::CanaryConfiguration
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
Configuration for a canary deployment strategy that shifts a fixed percentage of traffic to the new service revision, waits for a specified bake time, then shifts the remaining traffic.
This is only valid when you run CreateService or UpdateService
with deploymentController set to ECS and a
deploymentConfiguration with a strategy set to CANARY.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#canary_bake_time_in_minutes ⇒ Integer
The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision.
-
#canary_percent ⇒ Float
The percentage of production traffic to shift to the new service revision during the canary phase.
Instance Attribute Details
#canary_bake_time_in_minutes ⇒ Integer
The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.
439 440 441 442 443 444 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 439 class CanaryConfiguration < Struct.new( :canary_percent, :canary_bake_time_in_minutes) SENSITIVE = [] include Aws::Structure end |
#canary_percent ⇒ Float
The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are multiples of 0.1 from 0.1 to 100.0. The default value is 5.0.
439 440 441 442 443 444 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 439 class CanaryConfiguration < Struct.new( :canary_percent, :canary_bake_time_in_minutes) SENSITIVE = [] include Aws::Structure end |