Class: Aws::ECS::Types::CanaryConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

Configuration for 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

Instance Attribute Details

#canary_bake_time_in_minutesInteger

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.

Returns:

  • (Integer)


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_percentFloat

The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are 0.1 to 100.0. The default value is 5.0.

Returns:

  • (Float)


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