Class: Aws::CodeDeploy::Types::TimeBasedLinear
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeDeploy::Types::TimeBasedLinear
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codedeploy/types.rb
Overview
When making an API call, you may pass TimeBasedLinear data as a hash:
{
linear_percentage: 1,
linear_interval: 1,
}
A configuration that shifts traffic from one version of a Lambda function or ECS task set to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions or ECS task sets are specified in the deployment’s AppSpec file.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#linear_interval ⇒ Integer
The number of minutes between each incremental traffic shift of a ‘TimeBasedLinear` deployment.
-
#linear_percentage ⇒ Integer
The percentage of traffic that is shifted at the start of each increment of a ‘TimeBasedLinear` deployment.
Instance Attribute Details
#linear_interval ⇒ Integer
The number of minutes between each incremental traffic shift of a ‘TimeBasedLinear` deployment.
5543 5544 5545 5546 5547 5548 |
# File 'lib/aws-sdk-codedeploy/types.rb', line 5543 class TimeBasedLinear < Struct.new( :linear_percentage, :linear_interval) SENSITIVE = [] include Aws::Structure end |
#linear_percentage ⇒ Integer
The percentage of traffic that is shifted at the start of each increment of a ‘TimeBasedLinear` deployment.
5543 5544 5545 5546 5547 5548 |
# File 'lib/aws-sdk-codedeploy/types.rb', line 5543 class TimeBasedLinear < Struct.new( :linear_percentage, :linear_interval) SENSITIVE = [] include Aws::Structure end |