CustomLambdaDeploymentConfigProps
- class aws_cdk.aws_codedeploy.CustomLambdaDeploymentConfigProps(*, interval, percentage, type, deployment_config_name=None)
Bases:
object
(deprecated) Properties of a reference to a CodeDeploy Lambda Deployment Configuration.
- Parameters:
interval (
Duration
) – (deprecated) 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
]) – (deprecated) 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
) – (deprecated) The type of deployment config, either CANARY or LINEAR.deployment_config_name (
Optional
[str
]) – (deprecated) 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
- Deprecated:
Use
LambdaDeploymentConfig
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk from aws_cdk import aws_codedeploy as codedeploy custom_lambda_deployment_config_props = codedeploy.CustomLambdaDeploymentConfigProps( interval=cdk.Duration.minutes(30), percentage=123, type=codedeploy.CustomLambdaDeploymentConfigType.CANARY, # the properties below are optional deployment_config_name="deploymentConfigName" )
Attributes
- deployment_config_name
(deprecated) 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
- Deprecated:
Use
LambdaDeploymentConfig
- Stability:
deprecated
- interval
For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment.
- Deprecated:
Use
LambdaDeploymentConfig
- Stability:
deprecated
- Type:
(deprecated) The interval, in number of minutes
- percentage
For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment.
- Deprecated:
Use
LambdaDeploymentConfig
- Stability:
deprecated
- Type:
(deprecated) The integer percentage of traffic to shift
- type
(deprecated) The type of deployment config, either CANARY or LINEAR.
- Deprecated:
Use
LambdaDeploymentConfig
- Stability:
deprecated