AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

CustomLambdaDeploymentConfig

A custom Deployment Configuration for a Lambda Deployment Group.

Import

import { CustomLambdaDeploymentConfig } from 'aws-cdk-lib/aws-codedeploy';

Or use the module namespace:

import * as codedeploy from 'aws-cdk-lib/aws-codedeploy';
// codedeploy.CustomLambdaDeploymentConfig

Properties

Configuration passed to the constructor as CustomLambdaDeploymentConfigProps.

intervalRequiredDeprecated
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.

Deprecated: Use `LambdaDeploymentConfig`

percentageRequiredDeprecated
number

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.

Deprecated: Use `LambdaDeploymentConfig`

typeRequiredDeprecated
CustomLambdaDeploymentConfigType

The type of deployment config, either CANARY or LINEAR.

Deprecated: Use `LambdaDeploymentConfig`

deploymentConfigNameOptionalDeprecated
string

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`

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter