Class: Aws::ECS::Types::LinearConfiguration

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

Overview

Configuration for linear deployment strategy that shifts production traffic in equal percentage increments with configurable wait times between each step until 100% of traffic is shifted to the new service revision. This is only valid when you run ‘CreateService` or `UpdateService` with `deploymentController` set to `ECS` and a `deploymentConfiguration` with a strategy set to `LINEAR`.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#step_bake_time_in_minutesInteger

The amount of time in minutes to wait between each traffic shifting step during a linear deployment. Valid values are 0 to 1440 minutes (24 hours). The default value is 6. This bake time is not applied after reaching 100 percent traffic.

Returns:

  • (Integer)


7327
7328
7329
7330
7331
7332
# File 'lib/aws-sdk-ecs/types.rb', line 7327

class LinearConfiguration < Struct.new(
  :step_percent,
  :step_bake_time_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end

#step_percentFloat

The percentage of production traffic to shift in each step during a linear deployment. Valid values are multiples of 0.1 from 3.0 to 100.0. The default value is 10.0.

Returns:

  • (Float)


7327
7328
7329
7330
7331
7332
# File 'lib/aws-sdk-ecs/types.rb', line 7327

class LinearConfiguration < Struct.new(
  :step_percent,
  :step_bake_time_in_minutes)
  SENSITIVE = []
  include Aws::Structure
end