# ILambdaDeploymentConfig

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.).

Extends: [IBaseDeploymentConfig](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.IBaseDeploymentConfig.html)
Implemented by: [CustomLambdaDeploymentConfig](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CustomLambdaDeploymentConfig.html), [LambdaDeploymentConfig](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html)
Obtainable from: [LambdaDeploymentConfig.ALL_AT_ONCE](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#all-at-once), [LambdaDeploymentConfig.CANARY_10PERCENT_10MINUTES](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#canary-10percent-10minutes), [LambdaDeploymentConfig.CANARY_10PERCENT_15MINUTES](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#canary-10percent-15minutes), [LambdaDeploymentConfig.CANARY_10PERCENT_30MINUTES](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#canary-10percent-30minutes), [LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#canary-10percent-5minutes), [LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_10MINUTES](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#linear-10percent-every-10minutes), [LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_1MINUTE](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#linear-10percent-every-1minute), [LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_2MINUTES](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#linear-10percent-every-2minutes), [LambdaDeploymentConfig.LINEAR_10PERCENT_EVERY_3MINUTES](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#linear-10percent-every-3minutes), [LambdaDeploymentConfig.fromLambdaDeploymentConfigName](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#fromlambdadeploymentconfigname), [LambdaDeploymentConfig.import](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.LambdaDeploymentConfig.html#import)

- Source: [`aws-codedeploy/lib/lambda/deployment-config.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-codedeploy/lib/lambda/deployment-config.ts#L22)
- Type last changed: v2.45.0 · 6 Oct 2022

## Properties

- `deploymentConfigArn`: string — The ARN of the Deployment Configuration.

- `deploymentConfigName`: string — The physical, human-readable name of the Deployment Configuration.

- `deploymentConfigRef`: [DeploymentConfigReference](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_codedeploy.DeploymentConfigReference.html) — A reference to a DeploymentConfig resource.

- `env`: [ResourceEnvironment](/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html) — The environment this resource belongs to.

  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.

- `node`: [Node](/cdk/api/v2/docs/constructs.Node.html) — The tree node.

## Methods

- `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.

  **Parameters**

  - `mixins` — The mixins to apply.

  **Returns:** This construct for chaining
