CustomLambdaDeploymentConfigProps

class aws_cdk.aws_codedeploy.CustomLambdaDeploymentConfigProps(*, interval, percentage, type, deployment_config_name=None)

Bases: object

Properties of a reference to a CodeDeploy Lambda Deployment Configuration.

Parameters
  • interval (Duration) – The interval, in number of minutes: - For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment.

  • percentage (Union[int, float]) – The integer percentage of traffic to shift: - For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment.

  • type (CustomLambdaDeploymentConfigType) – The type of deployment config, either CANARY or LINEAR.

  • deployment_config_name (Optional[str]) – The verbatim name of the deployment config. Must be unique per account/region. Other parameters cannot be updated if this name is provided. Default: - automatically generated name

Attributes

deployment_config_name

The verbatim name of the deployment config.

Must be unique per account/region. Other parameters cannot be updated if this name is provided.

Default
  • automatically generated name

Return type

Optional[str]

interval
  • For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment.

Type

The interval, in number of minutes

Return type

Duration

percentage
  • For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment.

Type

The integer percentage of traffic to shift

Return type

Union[int, float]

type

The type of deployment config, either CANARY or LINEAR.

Return type

CustomLambdaDeploymentConfigType