interface CfnEventInvokeConfigMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnEventInvokeConfigMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnEventInvokeConfigMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnEventInvokeConfigMixinProps |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnEventInvokeConfigMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnEventInvokeConfigMixinProps |
Properties for CfnEventInvokeConfigPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const cfnEventInvokeConfigMixinProps: lambda_mixins.CfnEventInvokeConfigMixinProps = {
destinationConfig: {
onFailure: {
destination: 'destination',
},
onSuccess: {
destination: 'destination',
},
},
functionName: 'functionName',
maximumEventAgeInSeconds: 123,
maximumRetryAttempts: 123,
qualifier: 'qualifier',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | IResolvable | Destination | A destination for events after they have been sent to a function for processing. |
| function | string | The name of the Lambda function. |
| maximum | number | The maximum age of a request that Lambda sends to a function for processing. |
| maximum | number | The maximum number of times to retry when the function returns an error. |
| qualifier? | string | The identifier of a version or alias. |
destinationConfig?
Type:
IResolvable | Destination
(optional)
A destination for events after they have been sent to a function for processing.
Destinations - Function - The Amazon Resource Name (ARN) of a Lambda function.
- Queue - The ARN of a standard SQS queue.
- Bucket - The ARN of an Amazon S3 bucket.
- Topic - The ARN of a standard SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.
functionName?
Type:
string
(optional)
The name of the Lambda function.
Minimum : 1
Maximum : 64
Pattern : ([a-zA-Z0-9-_]+)
maximumEventAgeInSeconds?
Type:
number
(optional)
The maximum age of a request that Lambda sends to a function for processing.
maximumRetryAttempts?
Type:
number
(optional)
The maximum number of times to retry when the function returns an error.
qualifier?
Type:
string
(optional)
The identifier of a version or alias.
- Version - A version number.
- Alias - An alias name.
- Latest - To specify the unpublished version, use
$LATEST.

.NET
Go
Java
Python
TypeScript