CfnTrafficRoutingConfig

class aws_cdk.core.CfnTrafficRoutingConfig(*, type, time_based_canary=None, time_based_linear=None)

Bases: object

Traffic routing configuration settings.

The type of the {@link CfnCodeDeployBlueGreenHookProps.trafficRoutingConfig} property.

Parameters

Attributes

time_based_canary

The configuration for traffic routing when {@link type} is {@link CfnTrafficRoutingType.TIME_BASED_CANARY}.

Default
  • none

Return type

Optional[CfnTrafficRoutingTimeBasedCanary]

time_based_linear

The configuration for traffic routing when {@link type} is {@link CfnTrafficRoutingType.TIME_BASED_LINEAR}.

Default
  • none

Return type

Optional[CfnTrafficRoutingTimeBasedLinear]

type

The type of traffic shifting used by the blue-green deployment configuration.

Return type

CfnTrafficRoutingType