@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:09.740Z")
public interface CustomLambdaDeploymentConfigProps
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 java.lang.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.
|
java.lang.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.
|
Duration getInterval()
java.lang.Number getPercentage()
CustomLambdaDeploymentConfigType getType()
default java.lang.String getDeploymentConfigName()
Must be unique per account/region. Other parameters cannot be updated if this name is provided.
Default: - automatically generated name
static CustomLambdaDeploymentConfigProps.Builder builder()