@Generated(value="jsii-pacmak/1.54.0 (build b1b977a)", date="2022-02-24T23:24:28.258Z") @Stability(value=Stable) public class LambdaDeploymentConfig extends software.amazon.jsii.JsiiObject
Note: This class currently stands as namespaced container of the default configurations until CloudFormation supports custom Lambda Deployment Configs. Until then it is closed (private constructor) and does not extend {@link cdk.Construct}
Example:
LambdaApplication myApplication;
Function func;
Version version = func.addVersion("1");
Alias version1Alias = Alias.Builder.create(this, "alias")
.aliasName("prod")
.version(version)
.build();
LambdaDeploymentGroup deploymentGroup = LambdaDeploymentGroup.Builder.create(this, "BlueGreenDeployment")
.application(myApplication) // optional property: one will be created for you if not provided
.alias(version1Alias)
.deploymentConfig(LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE)
.build();
| Modifier and Type | Field and Description |
|---|---|
static ILambdaDeploymentConfig |
ALL_AT_ONCE |
static ILambdaDeploymentConfig |
CANARY_10_PERCENT_10_MINUTES |
static ILambdaDeploymentConfig |
CANARY_10_PERCENT_15_MINUTES |
static ILambdaDeploymentConfig |
CANARY_10_PERCENT_30_MINUTES |
static ILambdaDeploymentConfig |
CANARY_10_PERCENT_5_MINUTES |
static ILambdaDeploymentConfig |
LINEAR_10_PERCENT_EVERY_1_MINUTE |
static ILambdaDeploymentConfig |
LINEAR_10_PERCENT_EVERY_10_MINUTES |
static ILambdaDeploymentConfig |
LINEAR_10_PERCENT_EVERY_2_MINUTES |
static ILambdaDeploymentConfig |
LINEAR_10_PERCENT_EVERY_3_MINUTES |
| Modifier | Constructor and Description |
|---|---|
protected |
LambdaDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static ILambdaDeploymentConfig |
doImport(software.constructs.Construct _scope,
String _id,
LambdaDeploymentConfigImportProps props)
Import a custom Deployment Configuration for a Lambda Deployment Group defined outside the CDK.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final ILambdaDeploymentConfig ALL_AT_ONCE
@Stability(value=Stable) public static final ILambdaDeploymentConfig CANARY_10_PERCENT_10_MINUTES
@Stability(value=Stable) public static final ILambdaDeploymentConfig CANARY_10_PERCENT_15_MINUTES
@Stability(value=Stable) public static final ILambdaDeploymentConfig CANARY_10_PERCENT_30_MINUTES
@Stability(value=Stable) public static final ILambdaDeploymentConfig CANARY_10_PERCENT_5_MINUTES
@Stability(value=Stable) public static final ILambdaDeploymentConfig LINEAR_10_PERCENT_EVERY_10_MINUTES
@Stability(value=Stable) public static final ILambdaDeploymentConfig LINEAR_10_PERCENT_EVERY_1_MINUTE
@Stability(value=Stable) public static final ILambdaDeploymentConfig LINEAR_10_PERCENT_EVERY_2_MINUTES
@Stability(value=Stable) public static final ILambdaDeploymentConfig LINEAR_10_PERCENT_EVERY_3_MINUTES
protected LambdaDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public static ILambdaDeploymentConfig doImport(@NotNull software.constructs.Construct _scope, @NotNull String _id, @NotNull LambdaDeploymentConfigImportProps props)
_scope - the parent Construct for this new Construct. This parameter is required._id - the logical ID of this new Construct. This parameter is required.props - the properties of the referenced custom Deployment Configuration. This parameter is required.Copyright © 2022. All rights reserved.