[aws-lambda] EventSourceMappingOptions default values for Construct Props maxRecordAge #10693
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
needs-triage
This issue or PR still needs to be triaged.
p2
Dear community,
I am interested in EventSourceMappingOptions, especially max_record_age 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 7 days 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 7 days 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)
Thank you, Jakub.
This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: