# CustomLambdaDeploymentConfigProps

Properties of a reference to a CodeDeploy Lambda Deployment Configuration.

Extends: CustomLambdaDeploymentConfigProps
Used as props by: CustomLambdaDeploymentConfig

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const customLambdaDeploymentConfigProps: codedeploy.CustomLambdaDeploymentConfigProps = {
  interval: cdk.Duration.minutes(30),
  percentage: 123,
  type: codedeploy.CustomLambdaDeploymentConfigType.CANARY,

  // the properties below are optional
  deploymentConfigName: 'deploymentConfigName',
};
```

## Properties

- `deploymentConfigName`: string — Use `LambdaDeploymentConfig`

  **Default:** automatically generated name

  Must be unique per account/region.
  Other parameters cannot be updated if this name is provided.

- `interval`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) (required) — Use `LambdaDeploymentConfig`

- `percentage`: number (required) — Use `LambdaDeploymentConfig`

- `type`: [CustomLambdaDeploymentConfigType](/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.CustomLambdaDeploymentConfigType.html) (required) — Use `LambdaDeploymentConfig`
