AWS Lambda · Schema
CreateEventSourceMappingRequest
Request body for creating an event source mapping
Properties
| Name | Type | Description |
|---|---|---|
| EventSourceArn | string | The ARN of the event source. Required for Kinesis, DynamoDB Streams, SQS, MQ, MSK, and DocumentDB. |
| FunctionName | string | The name or ARN of the Lambda function |
| Enabled | boolean | If true, the event source mapping is active |
| BatchSize | integer | Maximum number of records in each batch |
| MaximumBatchingWindowInSeconds | integer | Maximum time to gather records before invoking |
| ParallelizationFactor | integer | Number of batches to process concurrently per shard |
| StartingPosition | string | Starting position in the stream |
| StartingPositionTimestamp | string | |
| MaximumRecordAgeInSeconds | integer | |
| BisectBatchOnFunctionError | boolean | |
| MaximumRetryAttempts | integer | |
| TumblingWindowInSeconds | integer | |
| FunctionResponseTypes | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CreateEventSourceMappingRequest",
"type": "object",
"description": "Request body for creating an event source mapping",
"properties": {
"EventSourceArn": {
"type": "string",
"description": "The ARN of the event source. Required for Kinesis, DynamoDB Streams, SQS, MQ, MSK, and DocumentDB."
},
"FunctionName": {
"type": "string",
"description": "The name or ARN of the Lambda function"
},
"Enabled": {
"type": "boolean",
"description": "If true, the event source mapping is active"
},
"BatchSize": {
"type": "integer",
"description": "Maximum number of records in each batch"
},
"MaximumBatchingWindowInSeconds": {
"type": "integer",
"description": "Maximum time to gather records before invoking"
},
"ParallelizationFactor": {
"type": "integer",
"description": "Number of batches to process concurrently per shard"
},
"StartingPosition": {
"type": "string",
"description": "Starting position in the stream"
},
"StartingPositionTimestamp": {
"type": "string"
},
"MaximumRecordAgeInSeconds": {
"type": "integer"
},
"BisectBatchOnFunctionError": {
"type": "boolean"
},
"MaximumRetryAttempts": {
"type": "integer"
},
"TumblingWindowInSeconds": {
"type": "integer"
},
"FunctionResponseTypes": {
"type": "array"
}
}
}