aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.ECSServiceProperty

interface ECSServiceProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.ECSServiceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_ECSServiceProperty
Javasoftware.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.ECSServiceProperty
Pythonaws_cdk.aws_codedeploy.CfnDeploymentGroup.ECSServiceProperty
TypeScript aws-cdk-lib » aws_codedeploy » CfnDeploymentGroup » ECSServiceProperty

Contains the service and cluster names used to identify an Amazon ECS deployment's target.

Example

// 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',
};

Properties

NameTypeDescription
clusterNamestringThe name of the cluster that the Amazon ECS service is associated with.
serviceNamestringThe name of the target Amazon ECS service.

clusterName

Type: string

The name of the cluster that the Amazon ECS service is associated with.


serviceName

Type: string

The name of the target Amazon ECS service.