CfnTrafficRoutingTimeBasedLinear

class aws_cdk.core.CfnTrafficRoutingTimeBasedLinear(*, bake_time_mins=None, step_percentage=None)

Bases: object

The traffic routing configuration if {@link CfnTrafficRoutingConfig.type} is {@link CfnTrafficRoutingType.TIME_BASED_LINEAR}.

Parameters:
  • bake_time_mins (Union[int, float, None]) – The number of minutes between the first and second traffic shifts of a time-based linear deployment. Default: 5

  • step_percentage (Union[int, float, None]) – The percentage of traffic that is shifted at the start of each increment of a time-based linear deployment. The step percentage must be 14% or greater. Default: 15

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.core as cdk

cfn_traffic_routing_time_based_linear = cdk.CfnTrafficRoutingTimeBasedLinear(
    bake_time_mins=123,
    step_percentage=123
)

Attributes

bake_time_mins

The number of minutes between the first and second traffic shifts of a time-based linear deployment.

Default:

5

step_percentage

The percentage of traffic that is shifted at the start of each increment of a time-based linear deployment.

The step percentage must be 14% or greater.

Default:

15