Skip to content
v2.277.0

CfnCodeDeployBlueGreenApplicationTarget Struct ​

Type of the CfnCodeDeployBlueGreenApplication.target 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 cfnCodeDeployBlueGreenApplicationTarget: cdk.CfnCodeDeployBlueGreenApplicationTarget = {
  logicalId: 'logicalId',
  type: 'type',
};
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_application_target = cdk.CfnCodeDeployBlueGreenApplicationTarget(
    logical_id="logicalId",
    type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

CfnCodeDeployBlueGreenApplicationTarget cfnCodeDeployBlueGreenApplicationTarget = CfnCodeDeployBlueGreenApplicationTarget.builder()
        .logicalId("logicalId")
        .type("type")
        .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 cfnCodeDeployBlueGreenApplicationTarget = new CfnCodeDeployBlueGreenApplicationTarget {
    LogicalId = "logicalId",
    Type = "type"
};
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"

cfnCodeDeployBlueGreenApplicationTarget := &CfnCodeDeployBlueGreenApplicationTarget{
	LogicalId: jsii.String("logicalId"),
	Type: jsii.String("type"),
}

Properties ​

logicalIdstringlogical_idstrlogicalIdStringLogicalIdstringLogicalId*stringrequired#
The logical id of the target resource.
typestringtypestrtypeStringTypestringType*stringrequired#
The resource type of the target being deployed.

Right now, the only allowed value is 'AWS::ECS::Service'.