Skip to content
v2.274.0

EcsDeploymentGroupAttributes Struct ​

Properties of a reference to a CodeDeploy ECS Deployment Group.

Example ​

ts
declare const application: codedeploy.EcsApplication;
const deploymentGroup = codedeploy.EcsDeploymentGroup.fromEcsDeploymentGroupAttributes(this, 'ExistingCodeDeployDeploymentGroup', {
  application,
  deploymentGroupName: 'MyExistingDeploymentGroup',
});

Properties ​

applicationIApplicationRefapplicationIApplicationRefapplicationIApplicationRefApplicationIApplicationRefApplicationIApplicationRefrequired#
The reference to the CodeDeploy ECS Application that this Deployment Group belongs to.
deploymentConfigIDeploymentConfigRefdeployment_configIDeploymentConfigRefdeploymentConfigIDeploymentConfigRefDeploymentConfigIDeploymentConfigRefDeploymentConfigIDeploymentConfigRef= EcsDeploymentConfig.ALL_AT_ONCE#
The Deployment Configuration this Deployment Group uses.
deploymentGroupNamestringdeployment_group_namestrdeploymentGroupNameStringDeploymentGroupNamestringDeploymentGroupName*stringrequired#
The physical, human-readable name of the CodeDeploy ECS Deployment Group that we are referencing.