Class LambdaDeploymentConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codedeploy.LambdaDeploymentConfig
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.379Z")
@Stability(Stable)
public class LambdaDeploymentConfig
extends software.amazon.jsii.JsiiObject
A custom Deployment Configuration for a Lambda Deployment Group.
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 cdk.Construct
Example:
LambdaApplication myApplication; Function func; Version version = func.getCurrentVersion(); 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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
static final ILambdaDeploymentConfig
-
Constructor Summary
ModifierConstructorDescriptionprotected
LambdaDeploymentConfig
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LambdaDeploymentConfig
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ILambdaDeploymentConfig
doImport
(software.constructs.Construct _scope, String _id, LambdaDeploymentConfigImportProps props) Import a custom Deployment Configuration for a Lambda Deployment Group defined outside the CDK.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
ALL_AT_ONCE
-
CANARY_10_PERCENT_10_MINUTES
-
CANARY_10_PERCENT_15_MINUTES
-
CANARY_10_PERCENT_30_MINUTES
-
CANARY_10_PERCENT_5_MINUTES
-
LINEAR_10_PERCENT_EVERY_10_MINUTES
-
LINEAR_10_PERCENT_EVERY_1_MINUTE
-
LINEAR_10_PERCENT_EVERY_2_MINUTES
-
LINEAR_10_PERCENT_EVERY_3_MINUTES
-
-
Constructor Details
-
LambdaDeploymentConfig
protected LambdaDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef) -
LambdaDeploymentConfig
protected LambdaDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
doImport
@Stability(Stable) @NotNull public static ILambdaDeploymentConfig doImport(@NotNull software.constructs.Construct _scope, @NotNull String _id, @NotNull LambdaDeploymentConfigImportProps props) Import a custom Deployment Configuration for a Lambda Deployment Group defined outside the CDK.- Parameters:
_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.- Returns:
- a Construct representing a reference to an existing custom Deployment Configuration
-