Interface LambdaDeploymentConfigProps
- All Superinterfaces:
BaseDeploymentConfigOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaDeploymentConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:47.666Z")
@Stability(Stable)
public interface LambdaDeploymentConfigProps
extends software.amazon.jsii.JsiiSerializable, BaseDeploymentConfigOptions
Construction properties of
LambdaDeploymentConfig.
Example:
LambdaApplication application;
Alias alias;
LambdaDeploymentConfig config = LambdaDeploymentConfig.Builder.create(this, "CustomConfig")
.trafficRouting(TimeBasedCanaryTrafficRouting.Builder.create()
.interval(Duration.minutes(15))
.percentage(5)
.build())
.build();
LambdaDeploymentGroup deploymentGroup = LambdaDeploymentGroup.Builder.create(this, "BlueGreenDeployment")
.application(application)
.alias(alias)
.deploymentConfig(config)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLambdaDeploymentConfigPropsstatic final classAn implementation forLambdaDeploymentConfigProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default TrafficRoutingThe configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.Methods inherited from interface software.amazon.awscdk.services.codedeploy.BaseDeploymentConfigOptions
getDeploymentConfigNameMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTrafficRouting
The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.Default: AllAtOnce
-
builder
-