Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Commit ab91728

Browse files
committed
Document default values for optional parameters
Default values for many of the optional parameters are missing from this documentation. Per https://aws.amazon.com/blogs/compute/new-aws-lambda-controls-for-stream-processing-and-asynchronous-invocations/: - `MaximumRetryAttempts` default is 10,000 - `MaximumRecordAgeInSeconds` default is 604,800 - `BisectBatchOnFunctionError` default is false Per https://aws.amazon.com/about-aws/whats-new/2019/11/aws-lambda-supports-parallelization-factor-for-kinesis-and-dynamodb-event-sources/: - `ParallelizationFactor` default is 1 Per https://aws.amazon.com/about-aws/whats-new/2019/09/aws-lambda-now-supports-custom-batch-window-for-kinesis-and-dynamodb-event-sources/, it appears that: - `MaximumBatchingWindowInSeconds` default is 0
1 parent 28f73e4 commit ab91728

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc_source/aws-resource-lambda-eventsourcemapping.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ The maximum number of items to retrieve in a single batch\.
6868
\(Streams\) If the function returns an error, split the batch in two and retry\.
6969
*Required*: No
7070
*Type*: Boolean
71+
*Default*: `false`
7172
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
7273

7374
`DestinationConfig` <a name="cfn-lambda-eventsourcemapping-destinationconfig"></a>
@@ -112,6 +113,7 @@ The length constraint applies only to the full ARN\. If you specify only the fun
112113
\(Streams\) The maximum amount of time to gather records before invoking the function, in seconds\.
113114
*Required*: No
114115
*Type*: Integer
116+
*Default*: `0`
115117
*Minimum*: `0`
116118
*Maximum*: `300`
117119
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
@@ -120,6 +122,7 @@ The length constraint applies only to the full ARN\. If you specify only the fun
120122
\(Streams\) The maximum age of a record that Lambda sends to a function for processing\.
121123
*Required*: No
122124
*Type*: Integer
125+
*Default*: `604800`
123126
*Minimum*: `60`
124127
*Maximum*: `604800`
125128
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
@@ -128,6 +131,7 @@ The length constraint applies only to the full ARN\. If you specify only the fun
128131
\(Streams\) The maximum number of times to retry when the function returns an error\.
129132
*Required*: No
130133
*Type*: Integer
134+
*Default*: `10000`
131135
*Minimum*: `0`
132136
*Maximum*: `10000`
133137
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
@@ -136,6 +140,7 @@ The length constraint applies only to the full ARN\. If you specify only the fun
136140
\(Streams\) The number of batches to process from each shard concurrently\.
137141
*Required*: No
138142
*Type*: Integer
143+
*Default*: `1`
139144
*Minimum*: `1`
140145
*Maximum*: `10`
141146
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

0 commit comments

Comments
 (0)