Interface LambdaDeploymentConfigProps
- All Superinterfaces:
BaseDeploymentConfigOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaDeploymentConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-17T19:20:25.356Z")
@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 class
A builder forLambdaDeploymentConfigProps
static final class
An implementation forLambdaDeploymentConfigProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default TrafficRouting
The 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
getDeploymentConfigName
Methods 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
-