You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[aws_caller_identity.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
@@ -187,6 +188,11 @@ Available targets:
187
188
| <aname="input_s3_key"></a> [s3\_key](#input\_s3\_key)| The S3 key of an object containing the function's deployment package. Conflicts with filename and image\_uri. |`string`|`null`| no |
188
189
| <aname="input_s3_object_version"></a> [s3\_object\_version](#input\_s3\_object\_version)| The object version containing the function's deployment package. Conflicts with filename and image\_uri. |`string`|`null`| no |
189
190
| <aname="input_source_code_hash"></a> [source\_code\_hash](#input\_source\_code\_hash)| Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either<br> filename or s3\_key. The usual way to set this is filebase64sha256('file.zip') where 'file.zip' is the local filename<br> of the lambda function source archive. |`string`|`""`| no |
191
+
| <aname="input_source_mapping_arn"></a> [source\_mapping\_arn](#input\_source\_mapping\_arn)| The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue. |`string`|`null`| no |
192
+
| <aname="input_source_mapping_batch_size"></a> [source\_mapping\_batch\_size](#input\_source\_mapping\_batch\_size)| (Optional) The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to 100 for DynamoDB and Kinesis, 10 for SQS. |`number`|`100`| no |
193
+
| <aname="input_source_mapping_enabled"></a> [source\_mapping\_enabled](#input\_source\_mapping\_enabled)| Enables the source mapping to set a Kinesis stream, a DynamoDB stream, or SQS queue as trigger for lambda. |`bool`|`false`| no |
194
+
| <aname="input_source_mapping_starting_position"></a> [source\_mapping\_starting\_position](#input\_source\_mapping\_starting\_position)| The position in the stream where AWS Lambda should start reading. Must be one of AT\_TIMESTAMP (Kinesis only), LATEST or TRIM\_HORIZON if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the AWS DynamoDB Streams API Reference and AWS Kinesis API Reference. |`string`|`null`| no |
195
+
| <aname="input_source_mapping_starting_position_timestamp"></a> [source\_mapping\_starting\_position\_timestamp](#input\_source\_mapping\_starting\_position\_timestamp)| (Optional) A timestamp in RFC3339 format of the data record which to start reading when using starting\_position set to AT\_TIMESTAMP. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen. |`string`|`null`| no |
190
196
| <aname="input_ssm_parameter_names"></a> [ssm\_parameter\_names](#input\_ssm\_parameter\_names)| List of AWS Systems Manager Parameter Store parameter names. The IAM role of this Lambda function will be enhanced<br> with read permissions for those parameters. Parameters must start with a forward slash and can be encrypted with the<br> default KMS key. |`list(string)`|`null`| no |
191
197
| <aname="input_stage"></a> [stage](#input\_stage)| ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
192
198
| <aname="input_tags"></a> [tags](#input\_tags)| Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`).<br>Neither the tag keys nor the tag values will be modified by this module. |`map(string)`|`{}`| no |
|[aws_caller_identity.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
@@ -90,6 +91,11 @@
90
91
| <aname="input_s3_key"></a> [s3\_key](#input\_s3\_key)| The S3 key of an object containing the function's deployment package. Conflicts with filename and image\_uri. |`string`|`null`| no |
91
92
| <aname="input_s3_object_version"></a> [s3\_object\_version](#input\_s3\_object\_version)| The object version containing the function's deployment package. Conflicts with filename and image\_uri. |`string`|`null`| no |
92
93
| <aname="input_source_code_hash"></a> [source\_code\_hash](#input\_source\_code\_hash)| Used to trigger updates. Must be set to a base64-encoded SHA256 hash of the package file specified with either<br> filename or s3\_key. The usual way to set this is filebase64sha256('file.zip') where 'file.zip' is the local filename<br> of the lambda function source archive. |`string`|`""`| no |
94
+
| <aname="input_source_mapping_arn"></a> [source\_mapping\_arn](#input\_source\_mapping\_arn)| The event source ARN - can be a Kinesis stream, DynamoDB stream, or SQS queue. |`string`|`null`| no |
95
+
| <aname="input_source_mapping_batch_size"></a> [source\_mapping\_batch\_size](#input\_source\_mapping\_batch\_size)| (Optional) The largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to 100 for DynamoDB and Kinesis, 10 for SQS. |`number`|`100`| no |
96
+
| <aname="input_source_mapping_enabled"></a> [source\_mapping\_enabled](#input\_source\_mapping\_enabled)| Enables the source mapping to set a Kinesis stream, a DynamoDB stream, or SQS queue as trigger for lambda. |`bool`|`false`| no |
97
+
| <aname="input_source_mapping_starting_position"></a> [source\_mapping\_starting\_position](#input\_source\_mapping\_starting\_position)| The position in the stream where AWS Lambda should start reading. Must be one of AT\_TIMESTAMP (Kinesis only), LATEST or TRIM\_HORIZON if getting events from Kinesis or DynamoDB. Must not be provided if getting events from SQS. More information about these positions can be found in the AWS DynamoDB Streams API Reference and AWS Kinesis API Reference. |`string`|`null`| no |
98
+
| <aname="input_source_mapping_starting_position_timestamp"></a> [source\_mapping\_starting\_position\_timestamp](#input\_source\_mapping\_starting\_position\_timestamp)| (Optional) A timestamp in RFC3339 format of the data record which to start reading when using starting\_position set to AT\_TIMESTAMP. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen. |`string`|`null`| no |
93
99
| <aname="input_ssm_parameter_names"></a> [ssm\_parameter\_names](#input\_ssm\_parameter\_names)| List of AWS Systems Manager Parameter Store parameter names. The IAM role of this Lambda function will be enhanced<br> with read permissions for those parameters. Parameters must start with a forward slash and can be encrypted with the<br> default KMS key. |`list(string)`|`null`| no |
94
100
| <aname="input_stage"></a> [stage](#input\_stage)| ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'build', 'test', 'deploy', 'release' |`string`|`null`| no |
95
101
| <aname="input_tags"></a> [tags](#input\_tags)| Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`).<br>Neither the tag keys nor the tag values will be modified by this module. |`map(string)`|`{}`| no |
0 commit comments