Skip to content
v2.277.0

CfnCodeDeployBlueGreenAdditionalOptions Struct ​

Additional options for the blue/green deployment.

The type of the CfnCodeDeployBlueGreenHookProps.additionalOptions property.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnCodeDeployBlueGreenAdditionalOptions: cdk.CfnCodeDeployBlueGreenAdditionalOptions = {
  terminationWaitTimeInMinutes: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

cfn_code_deploy_blue_green_additional_options = cdk.CfnCodeDeployBlueGreenAdditionalOptions(
    termination_wait_time_in_minutes=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

CfnCodeDeployBlueGreenAdditionalOptions cfnCodeDeployBlueGreenAdditionalOptions = CfnCodeDeployBlueGreenAdditionalOptions.builder()
        .terminationWaitTimeInMinutes(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var cfnCodeDeployBlueGreenAdditionalOptions = new CfnCodeDeployBlueGreenAdditionalOptions {
    TerminationWaitTimeInMinutes = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

cfnCodeDeployBlueGreenAdditionalOptions := &CfnCodeDeployBlueGreenAdditionalOptions{
	TerminationWaitTimeInMinutes: jsii.Number(123),
}

Properties ​

terminationWaitTimeInMinutesoptionalnumbertermination_wait_time_in_minutesoptionalint | floatterminationWaitTimeInMinutesoptionalNumberTerminationWaitTimeInMinutesoptionaldoubleTerminationWaitTimeInMinutesoptional*float64#
Specifies time to wait, in minutes, before terminating the blue resources.

Default: 5 minutes