@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:04.604Z") @Stability(value=Experimental) public enum CustomLambdaDeploymentConfigType extends Enum<CustomLambdaDeploymentConfigType>
Example:
LambdaApplication application;
Alias alias;
CustomLambdaDeploymentConfig config = CustomLambdaDeploymentConfig.Builder.create(this, "CustomConfig")
.type(CustomLambdaDeploymentConfigType.CANARY)
.interval(Duration.minutes(1))
.percentage(5)
.build();
LambdaDeploymentGroup deploymentGroup = LambdaDeploymentGroup.Builder.create(this, "BlueGreenDeployment")
.application(application)
.alias(alias)
.deploymentConfig(config)
.build();
| Enum Constant and Description |
|---|
CANARY
(experimental) Canary deployment type.
|
LINEAR
(experimental) Linear deployment type.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomLambdaDeploymentConfigType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomLambdaDeploymentConfigType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final CustomLambdaDeploymentConfigType CANARY
@Stability(value=Experimental) public static final CustomLambdaDeploymentConfigType LINEAR
public static CustomLambdaDeploymentConfigType[] values()
for (CustomLambdaDeploymentConfigType c : CustomLambdaDeploymentConfigType.values()) System.out.println(c);
public static CustomLambdaDeploymentConfigType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.