Class LambdaDeploymentConfig.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LambdaDeploymentConfig>
- Enclosing class:
LambdaDeploymentConfig
@Stability(Stable)
public static final class LambdaDeploymentConfig.Builder
extends Object
implements software.amazon.jsii.Builder<LambdaDeploymentConfig>
A fluent builder for
LambdaDeploymentConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
deploymentConfigName
(String deploymentConfigName) The physical, human-readable name of the Deployment Configuration.trafficRouting
(TrafficRouting trafficRouting) The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.
-
Method Details
-
create
@Stability(Stable) public static LambdaDeploymentConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
LambdaDeploymentConfig.Builder
.
-
deploymentConfigName
@Stability(Stable) public LambdaDeploymentConfig.Builder deploymentConfigName(String deploymentConfigName) The physical, human-readable name of the Deployment Configuration.Default: - automatically generated name
- Parameters:
deploymentConfigName
- The physical, human-readable name of the Deployment Configuration. This parameter is required.- Returns:
this
-
trafficRouting
@Stability(Stable) public LambdaDeploymentConfig.Builder trafficRouting(TrafficRouting trafficRouting) The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment.Default: AllAtOnce
- Parameters:
trafficRouting
- The configuration that specifies how traffic is shifted from the 'blue' target group to the 'green' target group during a deployment. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LambdaDeploymentConfig>
- Returns:
- a newly built instance of
LambdaDeploymentConfig
.
-