@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:47.693Z") @Stability(value=Stable) public interface CustomLambdaDeploymentConfigProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CustomLambdaDeploymentConfigProps.Builder
A builder for
CustomLambdaDeploymentConfigProps |
static class |
CustomLambdaDeploymentConfigProps.Jsii$Proxy
An implementation for
CustomLambdaDeploymentConfigProps |
| Modifier and Type | Method and Description |
|---|---|
static CustomLambdaDeploymentConfigProps.Builder |
builder() |
default String |
getDeploymentConfigName()
The verbatim name of the deployment config.
|
Duration |
getInterval()
The interval, in number of minutes: - For LINEAR, how frequently additional traffic is shifted - For CANARY, how long to shift traffic before the full deployment.
|
Number |
getPercentage()
The integer percentage of traffic to shift: - For LINEAR, the percentage to shift every interval - For CANARY, the percentage to shift until the interval passes, before the full deployment.
|
CustomLambdaDeploymentConfigType |
getType()
The type of deployment config, either CANARY or LINEAR.
|
@Stability(value=Stable) @NotNull Duration getInterval()
@Stability(value=Stable) @NotNull Number getPercentage()
@Stability(value=Stable) @NotNull CustomLambdaDeploymentConfigType getType()
@Stability(value=Stable) @Nullable default String getDeploymentConfigName()
Must be unique per account/region. Other parameters cannot be updated if this name is provided.
Default: - automatically generated name
@Stability(value=Stable) static CustomLambdaDeploymentConfigProps.Builder builder()
Copyright © 2022. All rights reserved.