# CfnTrafficRoutingType

The possible types of traffic shifting for the blue-green deployment configuration.

The type of the `CfnTrafficRoutingConfig.type` property.

- Source: [`core/lib/cfn-codedeploy-blue-green-hook.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/cfn-codedeploy-blue-green-hook.ts#L13)

## Members

| Member | Description |
| --- | --- |
| `ALL_AT_ONCE` | Switch from blue to green at once. |
| `TIME_BASED_CANARY` | Specifies a configuration that shifts traffic from blue to green in two increments. |
| `TIME_BASED_LINEAR` | Specifies a configuration that shifts traffic from blue to green in equal increments, with an equal number of minutes between each increment. |

## Referenced by

- [`CfnTrafficRoutingConfig`](/v2/docs/aws-cdk-lib.CfnTrafficRoutingConfig).type
