CustomLambdaDeploymentConfigType

class aws_cdk.aws_codedeploy.CustomLambdaDeploymentConfigType(value)

Bases: Enum

Lambda Deployment config type.

ExampleMetadata:

infused

Example:

# application: codedeploy.LambdaApplication
# alias: lambda.Alias
config = codedeploy.CustomLambdaDeploymentConfig(self, "CustomConfig",
    type=codedeploy.CustomLambdaDeploymentConfigType.CANARY,
    interval=Duration.minutes(1),
    percentage=5
)
deployment_group = codedeploy.LambdaDeploymentGroup(self, "BlueGreenDeployment",
    application=application,
    alias=alias,
    deployment_config=config
)

Attributes

CANARY

Canary deployment type.

LINEAR

Linear deployment type.