Class CustomLambdaDeploymentConfig
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfig
- All Implemented Interfaces:
IConstruct,IDependable,IResource,ILambdaDeploymentConfig,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.348Z")
@Stability(Stable)
public class CustomLambdaDeploymentConfig
extends Resource
implements ILambdaDeploymentConfig
A custom Deployment Configuration for a Lambda Deployment Group.
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 TypeClassDescriptionstatic final classA fluent builder forCustomLambdaDeploymentConfig.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.codedeploy.ILambdaDeploymentConfig
ILambdaDeploymentConfig.Jsii$Default, ILambdaDeploymentConfig.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCustomLambdaDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCustomLambdaDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef) CustomLambdaDeploymentConfig(software.constructs.Construct scope, String id, CustomLambdaDeploymentConfigProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe arn of the deployment config.The name of the deployment config.validate()Validate the current construct.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesizeMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CustomLambdaDeploymentConfig
protected CustomLambdaDeploymentConfig(software.amazon.jsii.JsiiObjectRef objRef) -
CustomLambdaDeploymentConfig
protected CustomLambdaDeploymentConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CustomLambdaDeploymentConfig
@Stability(Stable) public CustomLambdaDeploymentConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CustomLambdaDeploymentConfigProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
validate
Validate the current construct.This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
-
getDeploymentConfigArn
The arn of the deployment config.- Specified by:
getDeploymentConfigArnin interfaceILambdaDeploymentConfig
-
getDeploymentConfigName
The name of the deployment config.- Specified by:
getDeploymentConfigNamein interfaceILambdaDeploymentConfig
-