Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(lambda): correct default value for retryAttempts #10603

Merged
merged 2 commits into from
Sep 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,14 @@ export interface EventSourceMappingOptions {

/**
* The maximum number of times to retry when the function returns an error.
* Set to `undefined` if you want lambda to keep retrying infinitely or until
* the record expires.
*
* Valid Range:
* * Minimum value of 0
* * Maximum value of 10000
*
* @default 10000
* @default - infinite or until the record expires.
*/
readonly retryAttempts?: number;

Expand Down