[aws-lambda] EventSourceMappingOptions default values for Construct Props #10486
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
documentation
This is a problem with documentation.
guidance
Question that needs advice or information.
needs-triage
This issue or PR still needs to be triaged.
Dear community,
I am interested in EventSourceMappingOptions, especially retry_attempts parameter mentioned here https://docs.aws.amazon.com/cdk/api/latest/python/aws_cdk.aws_lambda/EventSourceMappingOptions.html and here https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-lambda.EventSourceMappingOptions.html. The documentation is mentioning following:
BUT this documentation https://docs.aws.amazon.com/lambda/latest/dg/API_CreateEventSourceMapping.html is mentioning the following:
So I expected, that default value will be 10 000 and not infinite as it's mentioned above, so I tried following:
And when I opened Lambda Designer in AWS console I saw the following values:
I expected 10 000 as is mentioned in the documentation, but it was set to infinite (btw, I am fine with infinite, but I wanted to make sure, that it will not change in the future and infinite as default is expected)
PS: The similar "issue" is with the Maximum age of record as well I think, as documentation is saying 7 days, but I see -1 (infinite). Am I doing something wrong?
Thank you, Jakub.
This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: