Skip to content
v2.273.0

ILambdaDeploymentConfig Interface ​

The Deployment Configuration of a Lambda Deployment Group.

If you're managing the Deployment Configuration alongside the rest of your CDK resources, use the LambdaDeploymentConfig class.

If you want to reference an already existing deployment configuration, or one defined in a different CDK Stack, use the LambdaDeploymentConfig#fromLambdaDeploymentConfigName method.

The default, pre-defined Configurations are available as constants on the LambdaDeploymentConfig class (LambdaDeploymentConfig.AllAtOnce, LambdaDeploymentConfig.Canary10Percent30Minutes, etc.).

Properties ​

deploymentConfigArnstringdeployment_config_arnstrdeploymentConfigArnStringDeploymentConfigArnstringDeploymentConfigArn*stringrequired#
The ARN of the Deployment Configuration.
deploymentConfigNamestringdeployment_config_namestrdeploymentConfigNameStringDeploymentConfigNamestringDeploymentConfigName*stringrequired#
The physical, human-readable name of the Deployment Configuration.
deploymentConfigRefDeploymentConfigReferencedeployment_config_refDeploymentConfigReferencedeploymentConfigRefDeploymentConfigReferenceDeploymentConfigRefDeploymentConfigReferenceDeploymentConfigRefDeploymentConfigReferencerequired#
A reference to a DeploymentConfig resource.
The environment this resource belongs to.
notes

For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

nodeNodenodeNodenodeNodeNodeNodeNodeNoderequired#
The tree node.

Methods ​

with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct#
Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.

1 parameter · returns

Parameters

  • mixinsmixinsmixinsmixinsMixins — The mixins to apply.

Returns: This construct for chaining