Class EcsDeploymentGroupAttributes
Properties of a reference to a CodeDeploy ECS Deployment Group.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EcsDeploymentGroupAttributes : IEcsDeploymentGroupAttributes
Syntax (vb)
Public Class EcsDeploymentGroupAttributes Implements IEcsDeploymentGroupAttributes
Remarks
See: EcsDeploymentGroup#fromEcsDeploymentGroupAttributes
ExampleMetadata: infused
Examples
EcsApplication application;
var deploymentGroup = EcsDeploymentGroup.FromEcsDeploymentGroupAttributes(this, "ExistingCodeDeployDeploymentGroup", new EcsDeploymentGroupAttributes {
Application = application,
DeploymentGroupName = "MyExistingDeploymentGroup"
});
Synopsis
Constructors
| EcsDeploymentGroupAttributes() | Properties of a reference to a CodeDeploy ECS Deployment Group. |
Properties
| Application | The reference to the CodeDeploy ECS Application that this Deployment Group belongs to. |
| DeploymentConfig | The Deployment Configuration this Deployment Group uses. |
| DeploymentGroupName | The physical, human-readable name of the CodeDeploy ECS Deployment Group that we are referencing. |
Constructors
EcsDeploymentGroupAttributes()
Properties of a reference to a CodeDeploy ECS Deployment Group.
public EcsDeploymentGroupAttributes()
Remarks
See: EcsDeploymentGroup#fromEcsDeploymentGroupAttributes
ExampleMetadata: infused
Examples
EcsApplication application;
var deploymentGroup = EcsDeploymentGroup.FromEcsDeploymentGroupAttributes(this, "ExistingCodeDeployDeploymentGroup", new EcsDeploymentGroupAttributes {
Application = application,
DeploymentGroupName = "MyExistingDeploymentGroup"
});
Properties
Application
The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.
public IApplicationRef Application { get; set; }
Property Value
Remarks
See: EcsDeploymentGroup#fromEcsDeploymentGroupAttributes
ExampleMetadata: infused
DeploymentConfig
The Deployment Configuration this Deployment Group uses.
public IDeploymentConfigRef? DeploymentConfig { get; set; }
Property Value
Remarks
Default: EcsDeploymentConfig.ALL_AT_ONCE
DeploymentGroupName
The physical, human-readable name of the CodeDeploy ECS Deployment Group that we are referencing.
public string DeploymentGroupName { get; set; }
Property Value
Remarks
See: EcsDeploymentGroup#fromEcsDeploymentGroupAttributes
ExampleMetadata: infused