FunctionEventInvokeConfig
Contents
- DestinationConfig
-
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.
Note
S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.
Type: DestinationConfig object
Required: No
-
- FunctionArn
-
The Amazon Resource Name (ARN) of the function.
Type: String
Pattern:
arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
Required: No
- LastModified
-
The date and time that the configuration was last updated, in Unix time seconds.
Type: Timestamp
Required: No
- MaximumEventAgeInSeconds
-
The maximum age of a request that Lambda sends to a function for processing.
Type: Integer
Valid Range: Minimum value of 60. Maximum value of 21600.
Required: No
- MaximumRetryAttempts
-
The maximum number of times to retry when the function returns an error.
Type: Integer
Valid Range: Minimum value of 0. Maximum value of 2.
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: