CfnTrafficRoutingTimeBasedCanary
- class aws_cdk.CfnTrafficRoutingTimeBasedCanary(*, bake_time_mins=None, step_percentage=None)
Bases:
object
The traffic routing configuration if
CfnTrafficRoutingConfig.type
isCfnTrafficRoutingType.TIME_BASED_CANARY
.- Parameters:
bake_time_mins (
Union
[int
,float
,None
]) – The number of minutes between the first and second traffic shifts of a time-based canary deployment. Default: 5step_percentage (
Union
[int
,float
,None
]) – The percentage of traffic to shift in the first increment of a time-based canary 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 as cdk cfn_traffic_routing_time_based_canary = cdk.CfnTrafficRoutingTimeBasedCanary( 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 canary deployment.
- Default:
5
- step_percentage
The percentage of traffic to shift in the first increment of a time-based canary deployment.
The step percentage must be 14% or greater.
- Default:
15