aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfigProps

interface LambdaDeploymentConfigProps

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.LambdaDeploymentConfigProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#LambdaDeploymentConfigProps
Javasoftware.amazon.awscdk.services.codedeploy.LambdaDeploymentConfigProps
Pythonaws_cdk.aws_codedeploy.LambdaDeploymentConfigProps
TypeScript (source)aws-cdk-lib » aws_codedeploy » LambdaDeploymentConfigProps

Construction properties of LambdaDeploymentConfig.

Example

const config = new codedeploy.LambdaDeploymentConfig(this, 'CustomConfig', {
  trafficRouting: new codedeploy.TimeBasedCanaryTrafficRouting({
    interval: Duration.minutes(15),
    percentage: 5,
  }),
});

declare const application: codedeploy.LambdaApplication;
declare const alias: lambda.Alias;
const deploymentGroup = new codedeploy.LambdaDeploymentGroup(this, 'BlueGreenDeployment', {
  application,
  alias,
  deploymentConfig: config,
});

Properties

NameTypeDescription
deploymentConfigName?stringThe physical, human-readable name of the Deployment Configuration.
trafficRouting?TrafficRoutingThe configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.

deploymentConfigName?

Type: string (optional, default: automatically generated name)

The physical, human-readable name of the Deployment Configuration.


trafficRouting?

Type: TrafficRouting (optional, default: AllAtOnce)

The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.