You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeDeploy::Types::TimeBasedLinear

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

Overview

Note:

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 to another in equal increments, with an equal number of minutes between each increment. The original and target Lambda function versions are specified in the deployment's AppSpec file.

Instance Attribute Summary collapse

Instance Attribute Details

#linear_intervalInteger

The number of minutes between each incremental traffic shift of a TimeBasedLinear deployment.

Returns:

  • (Integer)


3731
3732
3733
3734
3735
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3731

class TimeBasedLinear < Struct.new(
  :linear_percentage,
  :linear_interval)
  include Aws::Structure
end

#linear_percentageInteger

The percentage of traffic that is shifted at the start of each increment of a TimeBasedLinear deployment.

Returns:

  • (Integer)


3731
3732
3733
3734
3735
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3731

class TimeBasedLinear < Struct.new(
  :linear_percentage,
  :linear_interval)
  include Aws::Structure
end