Skip to content
v2.273.0

ServerDeploymentGroupAttributes Struct ​

Properties of a reference to a CodeDeploy EC2/on-premise Deployment Group.

Example ​

ts
declare const application: codedeploy.ServerApplication;
const deploymentGroup = codedeploy.ServerDeploymentGroup.fromServerDeploymentGroupAttributes(
  this,
  'ExistingCodeDeployDeploymentGroup', {
    application,
    deploymentGroupName: 'MyExistingDeploymentGroup',
  },
);

Properties ​

applicationIApplicationRefapplicationIApplicationRefapplicationIApplicationRefApplicationIApplicationRefApplicationIApplicationRefrequired#
The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to.
deploymentConfigIDeploymentConfigRefdeployment_configIDeploymentConfigRefdeploymentConfigIDeploymentConfigRefDeploymentConfigIDeploymentConfigRefDeploymentConfigIDeploymentConfigRef= ServerDeploymentConfig#OneAtATim…#
The Deployment Configuration this Deployment Group uses.
default

Default: ServerDeploymentConfig#OneAtATime

deploymentGroupNamestringdeployment_group_namestrdeploymentGroupNameStringDeploymentGroupNamestringDeploymentGroupName*stringrequired#
The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing.