interface ECSServiceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.ECSServiceProperty |
Java | software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.ECSServiceProperty |
Python | aws_cdk.aws_codedeploy.CfnDeploymentGroup.ECSServiceProperty |
TypeScript | @aws-cdk/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 * as codedeploy from '@aws-cdk/aws-codedeploy';
const eCSServiceProperty: codedeploy.CfnDeploymentGroup.ECSServiceProperty = {
clusterName: 'clusterName',
serviceName: 'serviceName',
};
Properties
Name | Type | Description |
---|---|---|
cluster | string | The name of the cluster that the Amazon ECS service is associated with. |
service | string | The 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.