@Stability(value=Experimental) public static final class CustomLambdaDeploymentConfig.Builder extends Object implements software.amazon.jsii.Builder<CustomLambdaDeploymentConfig>
CustomLambdaDeploymentConfig.| Modifier and Type | Method and Description |
|---|---|
CustomLambdaDeploymentConfig |
build() |
static CustomLambdaDeploymentConfig.Builder |
create(software.constructs.Construct scope,
String id) |
CustomLambdaDeploymentConfig.Builder |
deploymentConfigName(String deploymentConfigName)
(experimental) The verbatim name of the deployment config.
|
CustomLambdaDeploymentConfig.Builder |
interval(Duration interval)
(experimental) 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.
|
CustomLambdaDeploymentConfig.Builder |
percentage(Number percentage)
(experimental) 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.
|
CustomLambdaDeploymentConfig.Builder |
type(CustomLambdaDeploymentConfigType type)
(experimental) The type of deployment config, either CANARY or LINEAR.
|
@Stability(value=Experimental) public static CustomLambdaDeploymentConfig.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.CustomLambdaDeploymentConfig.Builder.@Stability(value=Experimental) public CustomLambdaDeploymentConfig.Builder interval(Duration interval)
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 CustomLambdaDeploymentConfig.Builder percentage(Number percentage)
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 CustomLambdaDeploymentConfig.Builder type(CustomLambdaDeploymentConfigType type)
type - The type of deployment config, either CANARY or LINEAR. This parameter is required.this@Stability(value=Experimental) public CustomLambdaDeploymentConfig.Builder deploymentConfigName(String deploymentConfigName)
Must be unique per account/region. Other parameters cannot be updated if this name is provided.
Default: - automatically generated name
deploymentConfigName - The verbatim name of the deployment config. This parameter is required.this@Stability(value=Experimental) public CustomLambdaDeploymentConfig build()
build in interface software.amazon.jsii.Builder<CustomLambdaDeploymentConfig>Copyright © 2021. All rights reserved.