interface DeadLetterConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lambda.CfnFunction.DeadLetterConfigProperty |
Java | software.amazon.awscdk.services.lambda.CfnFunction.DeadLetterConfigProperty |
Python | aws_cdk.aws_lambda.CfnFunction.DeadLetterConfigProperty |
TypeScript | @aws-cdk/aws-lambda » CfnFunction » DeadLetterConfigProperty |
The dead-letter queue for failed asynchronous invocations.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
const deadLetterConfigProperty: lambda.CfnFunction.DeadLetterConfigProperty = {
targetArn: 'targetArn',
};
Properties
Name | Type | Description |
---|---|---|
target | string | The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic. |
targetArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.