LinearTrafficRoutingConfig
- class aws_cdk.aws_codedeploy.LinearTrafficRoutingConfig(*, linear_interval, linear_percentage)
Bases:
object
Represents the configuration specific to linear traffic shifting.
- Parameters:
linear_interval (
Union
[int
,float
]) – The number of minutes between each incremental traffic shift of aTimeBasedLinear
deployment.linear_percentage (
Union
[int
,float
]) – The percentage of traffic that is shifted at the start of each increment of aTimeBasedLinear
deployment.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_codedeploy as codedeploy linear_traffic_routing_config = codedeploy.LinearTrafficRoutingConfig( linear_interval=123, linear_percentage=123 )
Attributes
- linear_interval
The number of minutes between each incremental traffic shift of a
TimeBasedLinear
deployment.
- linear_percentage
The percentage of traffic that is shifted at the start of each increment of a
TimeBasedLinear
deployment.