TimeBasedLinearTrafficRoutingProps
- class aws_cdk.aws_codedeploy.TimeBasedLinearTrafficRoutingProps(*, interval, percentage)
Bases:
BaseTrafficShiftingConfigProps
Construction properties for
TimeBasedLinearTrafficRouting
.- Parameters:
interval (
Duration
) – The amount of time between traffic shifts.percentage (
Union
[int
,float
]) – The percentage to increase traffic on each traffic shift.
- 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 from aws_cdk import aws_codedeploy as codedeploy time_based_linear_traffic_routing_props = codedeploy.TimeBasedLinearTrafficRoutingProps( interval=cdk.Duration.minutes(30), percentage=123 )
Attributes
- interval
The amount of time between traffic shifts.
- percentage
The percentage to increase traffic on each traffic shift.