Class CfnDeploymentGroup.ECSServiceProperty
Contains the service and cluster names used to identify an Amazon ECS deployment's target.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentGroup.ECSServiceProperty : CfnDeploymentGroup.IECSServiceProperty
Syntax (vb)
Public Class CfnDeploymentGroup.ECSServiceProperty Implements CfnDeploymentGroup.IECSServiceProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Synopsis
Constructors
| ECSServiceProperty() | Contains the service and cluster names used to identify an Amazon ECS deployment's target. |
Properties
| ClusterName | The name of the cluster that the Amazon ECS service is associated with. |
| ServiceName | The name of the target Amazon ECS service. |
Constructors
ECSServiceProperty()
Contains the service and cluster names used to identify an Amazon ECS deployment's target.
public ECSServiceProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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"
};
Properties
ClusterName
The name of the cluster that the Amazon ECS service is associated with.
public string ClusterName { get; set; }
Property Value
Remarks
ServiceName
The name of the target Amazon ECS service.
public string ServiceName { get; set; }