ECSServiceProperty Struct
Contains the service and cluster names used to identify an Amazon ECS deployment's target.
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 eCSServiceProperty: codedeploy.CfnDeploymentGroup.ECSServiceProperty = {
clusterName: 'clusterName',
serviceName: 'serviceName',
};
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
e_cs_service_property = codedeploy.CfnDeploymentGroup.ECSServiceProperty(
cluster_name="clusterName",
service_name="serviceName"
)
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.*;
ECSServiceProperty eCSServiceProperty = ECSServiceProperty.builder()
.clusterName("clusterName")
.serviceName("serviceName")
.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 eCSServiceProperty = new ECSServiceProperty {
ClusterName = "clusterName",
ServiceName = "serviceName"
};
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"
eCSServiceProperty := &ECSServiceProperty{
ClusterName: jsii.String("clusterName"),
ServiceName: jsii.String("serviceName"),
}