@Stability(value=Experimental) public static final class CustomLambdaDeploymentConfigProps.Builder extends Object implements software.amazon.jsii.Builder<CustomLambdaDeploymentConfigProps>
CustomLambdaDeploymentConfigProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CustomLambdaDeploymentConfigProps |
build()
Builds the configured instance.
|
CustomLambdaDeploymentConfigProps.Builder |
deploymentConfigName(String deploymentConfigName)
Sets the value of
CustomLambdaDeploymentConfigProps.getDeploymentConfigName() |
CustomLambdaDeploymentConfigProps.Builder |
interval(Duration interval)
Sets the value of
CustomLambdaDeploymentConfigProps.getInterval() |
CustomLambdaDeploymentConfigProps.Builder |
percentage(Number percentage)
Sets the value of
CustomLambdaDeploymentConfigProps.getPercentage() |
CustomLambdaDeploymentConfigProps.Builder |
type(CustomLambdaDeploymentConfigType type)
Sets the value of
CustomLambdaDeploymentConfigProps.getType() |
@Stability(value=Experimental) public CustomLambdaDeploymentConfigProps.Builder interval(Duration interval)
CustomLambdaDeploymentConfigProps.getInterval()interval - 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. This parameter is required.this@Stability(value=Experimental) public CustomLambdaDeploymentConfigProps.Builder percentage(Number percentage)
CustomLambdaDeploymentConfigProps.getPercentage()percentage - 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. This parameter is required.this@Stability(value=Experimental) public CustomLambdaDeploymentConfigProps.Builder type(CustomLambdaDeploymentConfigType type)
CustomLambdaDeploymentConfigProps.getType()type - The type of deployment config, either CANARY or LINEAR. This parameter is required.this@Stability(value=Experimental) public CustomLambdaDeploymentConfigProps.Builder deploymentConfigName(String deploymentConfigName)
CustomLambdaDeploymentConfigProps.getDeploymentConfigName()deploymentConfigName - The verbatim name of the deployment config.
Must be unique per account/region.
Other parameters cannot be updated if this name is provided.this@Stability(value=Experimental) public CustomLambdaDeploymentConfigProps build()
build in interface software.amazon.jsii.Builder<CustomLambdaDeploymentConfigProps>CustomLambdaDeploymentConfigPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.