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-event-source): improve docstring in KinesisEventSourceProps #29582

Merged
merged 10 commits into from
Mar 27, 2024
7 changes: 5 additions & 2 deletions packages/aws-cdk-lib/aws-lambda-event-sources/lib/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ export interface StreamEventSourceProps extends BaseStreamEventSourceProps {
* * Minimum value of 60 seconds
* * Maximum value of 7 days
*
* @default - the retention period configured on the stream
* @default -1
* sets the maximum age to infinite. When infinite, Lambda never discards old records.
* The retention period configured on the stream now decides max age for records.
*/
readonly maxRecordAge?: Duration;

Expand All @@ -73,7 +75,8 @@ export interface StreamEventSourceProps extends BaseStreamEventSourceProps {
* * Minimum value of 0
* * Maximum value of 10000
*
* @default - retry until the record expires
* @default -1
* retry until the record expires
*/
readonly retryAttempts?: number;

Expand Down
Loading