CmdID / aws / aws lambda
aws lambda update-event-source-mapping
Updates an event source mapping. AWS CLI reference
22 options Its page in the AWS CLI reference
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.--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.--scaling-config(Amazon SQS only) The scaling configuration for the event source.--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.--tumbling-window-in-seconds(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources.--uuidThe identifier of the event source mapping.