interface ServerDeploymentGroupAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeDeploy.ServerDeploymentGroupAttributes |
Java | software.amazon.awscdk.services.codedeploy.ServerDeploymentGroupAttributes |
Python | aws_cdk.aws_codedeploy.ServerDeploymentGroupAttributes |
TypeScript (source) | @aws-cdk/aws-codedeploy » ServerDeploymentGroupAttributes |
Properties of a reference to a CodeDeploy EC2/on-premise Deployment Group.
See also: ServerDeploymentGroup#import
Example
declare const application: codedeploy.ServerApplication;
const deploymentGroup = codedeploy.ServerDeploymentGroup.fromServerDeploymentGroupAttributes(
this,
'ExistingCodeDeployDeploymentGroup', {
application,
deploymentGroupName: 'MyExistingDeploymentGroup',
},
);
Properties
| Name | Type | Description |
|---|---|---|
| application | IServer | The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to. |
| deployment | string | The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing. |
| deployment | IServer | The Deployment Configuration this Deployment Group uses. |
application
Type:
IServer
The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to.
deploymentGroupName
Type:
string
The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing.
deploymentConfig?
Type:
IServer
(optional, default: ServerDeploymentConfig#OneAtATime)
The Deployment Configuration this Deployment Group uses.

.NET
Java
Python
TypeScript (