diff --git a/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts b/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts index 3fdefc2b16e42..be59fdd54f0a1 100644 --- a/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts +++ b/packages/@aws-cdk/aws-lambda/lib/event-source-mapping.ts @@ -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;