CmdID

CmdID / aws / aws lambda

aws lambda create-event-source-mapping

Creates a mapping between an event source and an Lambda Event Function. AWS CLI reference

28 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

28 in the AWS CLI reference
Show its 28 options
--amazon-managed-kafka-event-source-configSpecific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
--batch-sizeThe maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function.
--bisect-batch-on-function-error(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) If the function returns an error, split the batch in two and retry.
--destination-config(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A configuration object that specifies the destination of an event after Lambda processes it.
--document-db-event-source-configSpecific configuration settings for a DocumentDB event source.
--enabledWhen true, the event source mapping is active.
--event-source-arnThe Amazon Resource Name (ARN) of the event source.
--filter-criteriaAn object that defines the filter criteria that determine whether Lambda should process an event.
--function-nameThe name or ARN of the Lambda function.
--function-response-types(Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and Amazon SQS) A list of current response type enums applied to the event source mapping.
--kms-key-arnThe ARN of the Key Management Service (KMS) customer managed key that Lambda uses to encrypt your function's filter criteria.
--logging-config(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source.
--maximum-batching-window-in-secondsThe maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
--maximum-record-age-in-seconds(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records older than the specified age.
--maximum-retry-attempts(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) Discard records after the specified number of retries.
--metrics-configThe metrics configuration for your event source.
--parallelization-factor(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.
--provisioned-poller-config(Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned mode configuration for the event source.
--queues(MQ) The name of the Amazon MQ broker destination queue to consume.
--scaling-config(Amazon SQS only) The scaling configuration for the event source.
--self-managed-event-sourceThe self-managed Apache Kafka cluster to receive records from.
--self-managed-kafka-event-source-configSpecific configuration settings for a self-managed Apache Kafka event source.
--source-access-configurationsAn array of authentication protocols or VPC components required to secure your event source.
--starting-position-timestampWith StartingPosition set to AT_TIMESTAMP, the time from which to start reading.
--starting-positionThe position in a stream from which to start reading.
--tagsA list of tags to apply to the event source mapping.
--topicsThe name of the Kafka topic.
--tumbling-window-in-seconds(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources.