Interface CustomLambdaDeploymentConfigProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CustomLambdaDeploymentConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.349Z")
@Stability(Stable)
public interface CustomLambdaDeploymentConfigProps
extends software.amazon.jsii.JsiiSerializable
Properties of a reference to a CodeDeploy Lambda Deployment Configuration.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCustomLambdaDeploymentConfigPropsstatic final classAn implementation forCustomLambdaDeploymentConfigProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe verbatim name of the deployment config.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.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.getType()The type of deployment config, either CANARY or LINEAR.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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. -
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. -
getType
The type of deployment config, either CANARY or LINEAR. -
getDeploymentConfigName
The verbatim name of the deployment config.Must be unique per account/region. Other parameters cannot be updated if this name is provided.
Default: - automatically generated name
-
builder
-