class EcsDeploymentGroup
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeDeploy.EcsDeploymentGroup |
Java | software.amazon.awscdk.services.codedeploy.EcsDeploymentGroup |
Python | aws_cdk.aws_codedeploy.EcsDeploymentGroup |
TypeScript (source) | @aws-cdk/aws-codedeploy » EcsDeploymentGroup |
Note: This class currently stands as a namespaced container for importing an ECS Deployment Group defined outside the CDK app until CloudFormation supports provisioning ECS Deployment Groups.
Until then it is closed (private constructor) and does not extend {@link cdk.Construct}.
Methods
| Name | Description |
|---|---|
| static from | Import an ECS Deployment Group defined outside the CDK app. |
static fromEcsDeploymentGroupAttributes(scope, id, attrs)
public static fromEcsDeploymentGroupAttributes(scope: Construct, id: string, attrs: EcsDeploymentGroupAttributes): IEcsDeploymentGroup
Parameters
- scope
Construct— the parent Construct for this new Construct. - id
string— the logical ID of this new Construct. - attrs
Ecs— the properties of the referenced Deployment Group.Deployment Group Attributes
Returns
Import an ECS Deployment Group defined outside the CDK app.

.NET
Java
Python
TypeScript (