ServerDeploymentGroupAttributes

class aws_cdk.aws_codedeploy.ServerDeploymentGroupAttributes(*, application, deployment_group_name, deployment_config=None)

Bases: object

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

Parameters:
  • application (IServerApplication) – The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to.

  • deployment_group_name (str) – The physical, human-readable name of the CodeDeploy EC2/on-premise Deployment Group that we are referencing.

  • deployment_config (Optional[IServerDeploymentConfig]) – The Deployment Configuration this Deployment Group uses. Default: ServerDeploymentConfig#OneAtATime

See:

ServerDeploymentGroup# import

ExampleMetadata:

infused

Example:

# application: codedeploy.ServerApplication

deployment_group = codedeploy.ServerDeploymentGroup.from_server_deployment_group_attributes(self, "ExistingCodeDeployDeploymentGroup",
    application=application,
    deployment_group_name="MyExistingDeploymentGroup"
)

Attributes

application

The reference to the CodeDeploy EC2/on-premise Application that this Deployment Group belongs to.

deployment_config

The Deployment Configuration this Deployment Group uses.

Default:

ServerDeploymentConfig#OneAtATime

deployment_group_name

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