LambdaDeploymentGroupAttributes

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

Bases: object

Properties of a reference to a CodeDeploy Lambda Deployment Group.

Parameters:
  • application (ILambdaApplication) – The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.

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

  • deployment_config (Optional[ILambdaDeploymentConfig]) – The Deployment Configuration this Deployment Group uses. Default: LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES

See:

LambdaDeploymentGroup#fromLambdaDeploymentGroupAttributes

ExampleMetadata:

infused

Example:

# application: codedeploy.LambdaApplication

deployment_group = codedeploy.LambdaDeploymentGroup.from_lambda_deployment_group_attributes(self, "ExistingCodeDeployDeploymentGroup",
    application=application,
    deployment_group_name="MyExistingDeploymentGroup"
)

Attributes

application

The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.

deployment_config

The Deployment Configuration this Deployment Group uses.

Default:

LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES

deployment_group_name

The physical, human-readable name of the CodeDeploy Lambda Deployment Group that we are referencing.