Skip to content
v2.277.0

DeploymentStyleProperty Struct ​

Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.

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 deploymentStyleProperty: codedeploy.CfnDeploymentGroup.DeploymentStyleProperty = {
  deploymentOption: 'deploymentOption',
  deploymentType: 'deploymentType',
};
python
# 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

deployment_style_property = codedeploy.CfnDeploymentGroup.DeploymentStyleProperty(
    deployment_option="deploymentOption",
    deployment_type="deploymentType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codedeploy.*;

DeploymentStyleProperty deploymentStyleProperty = DeploymentStyleProperty.builder()
        .deploymentOption("deploymentOption")
        .deploymentType("deploymentType")
        .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.AWS.CodeDeploy;

var deploymentStyleProperty = new DeploymentStyleProperty {
    DeploymentOption = "deploymentOption",
    DeploymentType = "deploymentType"
};
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 "github.com/aws/aws-cdk-go/awscdk"

deploymentStyleProperty := &DeploymentStyleProperty{
	DeploymentOption: jsii.String("deploymentOption"),
	DeploymentType: jsii.String("deploymentType"),
}

Properties ​

deploymentOptionoptionalstringdeployment_optionoptionalstrdeploymentOptionoptionalStringDeploymentOptionoptionalstringDeploymentOptionoptional*string#
Indicates whether to route deployment traffic behind a load balancer.

An Amazon EC2 Application Load Balancer or Network Load Balancer is required for an Amazon ECS deployment.

deploymentTypeoptionalstringdeployment_typeoptionalstrdeploymentTypeoptionalStringDeploymentTypeoptionalstringDeploymentTypeoptional*string#
Indicates whether to run an in-place or blue/green deployment.