Class ServerDeploymentGroupAttributes
Properties of a reference to a CodeDeploy EC2/on-premise Deployment Group.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ServerDeploymentGroupAttributes : IServerDeploymentGroupAttributes
Syntax (vb)
Public Class ServerDeploymentGroupAttributes Implements IServerDeploymentGroupAttributes
Remarks
See: ServerDeploymentGroup# import
ExampleMetadata: infused
Examples
ServerApplication application;
var deploymentGroup = ServerDeploymentGroup.FromServerDeploymentGroupAttributes(this, "ExistingCodeDeployDeploymentGroup", new ServerDeploymentGroupAttributes {
Application = application,
DeploymentGroupName = "MyExistingDeploymentGroup"
});
Synopsis
Constructors
| ServerDeploymentGroupAttributes() | Properties of a reference to a CodeDeploy EC2/on-premise Deployment Group. |
Properties
| Application | The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to. |
| DeploymentConfig | The Deployment Configuration this Deployment Group uses. |
| DeploymentGroupName | The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing. |
Constructors
ServerDeploymentGroupAttributes()
Properties of a reference to a CodeDeploy EC2/on-premise Deployment Group.
public ServerDeploymentGroupAttributes()
Remarks
See: ServerDeploymentGroup# import
ExampleMetadata: infused
Examples
ServerApplication application;
var deploymentGroup = ServerDeploymentGroup.FromServerDeploymentGroupAttributes(this, "ExistingCodeDeployDeploymentGroup", new ServerDeploymentGroupAttributes {
Application = application,
DeploymentGroupName = "MyExistingDeploymentGroup"
});
Properties
Application
The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to.
public IApplicationRef Application { get; set; }
Property Value
Remarks
See: ServerDeploymentGroup# import
ExampleMetadata: infused
DeploymentConfig
The Deployment Configuration this Deployment Group uses.
public IDeploymentConfigRef? DeploymentConfig { get; set; }
Property Value
Remarks
Default: ServerDeploymentConfig#OneAtATime
DeploymentGroupName
The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing.
public string DeploymentGroupName { get; set; }
Property Value
Remarks
See: ServerDeploymentGroup# import
ExampleMetadata: infused