# BlueGreenDeploymentConfigurationProperty

Information about blue/green deployment options for a deployment group.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const blueGreenDeploymentConfigurationProperty: codedeploy.CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty = {
  deploymentReadyOption: {
    actionOnTimeout: 'actionOnTimeout',
    waitTimeInMinutes: 123,
  },
  greenFleetProvisioningOption: {
    action: 'action',
  },
  terminateBlueInstancesOnDeploymentSuccess: {
    action: 'action',
    terminationWaitTimeInMinutes: 123,
  },
};
```

## Properties

- `deploymentReadyOption`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDeploymentGroup.DeploymentReadyOptionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.DeploymentReadyOptionProperty.html) — Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.

- `greenFleetProvisioningOption`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDeploymentGroup.GreenFleetProvisioningOptionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.GreenFleetProvisioningOptionProperty.html) — Information about how instances are provisioned for a replacement environment in a blue/green deployment.

- `terminateBlueInstancesOnDeploymentSuccess`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDeploymentGroup.BlueInstanceTerminationOptionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.BlueInstanceTerminationOptionProperty.html) — Information about whether to terminate instances in the original fleet during a blue/green deployment.
