@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:47.694Z") @Stability(value=Stable) 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
Canary deployment type.
|
LINEAR
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=Stable) public static final CustomLambdaDeploymentConfigType CANARY
@Stability(value=Stable) 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.