# DeadLetterConfigProperty

The [dead-letter queue](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-dlq) for failed asynchronous invocations.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const deadLetterConfigProperty: lambda.CfnFunction.DeadLetterConfigProperty = {
  targetArn: 'targetArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

dead_letter_config_property = lambda.CfnFunction.DeadLetterConfigProperty(
    target_arn="targetArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

DeadLetterConfigProperty deadLetterConfigProperty = DeadLetterConfigProperty.builder()
        .targetArn("targetArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var deadLetterConfigProperty = new DeadLetterConfigProperty {
    TargetArn = "targetArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

deadLetterConfigProperty := &DeadLetterConfigProperty{
	TargetArn: jsii.String("targetArn"),
}
```

## Properties

- `targetArn`: string — The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
