class Aws::Lambda::Types::EventSourceMappingConfiguration


@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
@return [Types::ProvisionedPollerConfig]<br>: docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode<br><br><br><br>[provisioned mode].
configuration for the event source. For more information, see
(Amazon MSK and self-managed Apache Kafka only) The provisioned mode
@!attribute [rw] provisioned_poller_config
@return [Types::EventSourceMappingMetricsConfig]<br>: docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics<br><br><br><br>information, see [Event source mapping metrics].
The metrics configuration for your event source. For more
@!attribute [rw] metrics_config
@return [String]
The Amazon Resource Name (ARN) of the event source mapping.
@!attribute [rw] event_source_mapping_arn
@return [Types::FilterCriteriaError]
criteria encryption.
An object that contains details about an error related to filter
@!attribute [rw] filter_criteria_error
@return [String]<br>: docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics<br><br><br><br>that Lambda uses to encrypt your function’s [filter criteria].
The ARN of the Key Management Service (KMS) customer managed key
@!attribute [rw] kms_key_arn
@return [Types::DocumentDBEventSourceConfig]
Specific configuration settings for a DocumentDB event source.
@!attribute [rw] document_db_event_source_config
@return [Types::ScalingConfig]<br>: docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency<br><br><br><br>Amazon SQS event sources].
For more information, see [Configuring maximum concurrency for
(Amazon SQS only) The scaling configuration for the event source.
@!attribute [rw] scaling_config
@return [Types::SelfManagedKafkaEventSourceConfig]
event source.
Specific configuration settings for a self-managed Apache Kafka
@!attribute [rw] self_managed_kafka_event_source_config
@return [Types::AmazonManagedKafkaEventSourceConfig]
Apache Kafka (Amazon MSK) event source.
Specific configuration settings for an Amazon Managed Streaming for
@!attribute [rw] amazon_managed_kafka_event_source_config
@return [Array<String>]
response type enums applied to the event source mapping.
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current
@!attribute [rw] function_response_types
@return [Integer]
value of 0 seconds indicates no tumbling window.
processing window for DynamoDB and Kinesis Streams event sources. A
(Kinesis and DynamoDB Streams only) The duration in seconds of a
@!attribute [rw] tumbling_window_in_seconds
@return [Integer]
the event source.
infinite, Lambda retries failed records until the record expires in
maximum number of retries to infinite. When MaximumRetryAttempts is
specified number of retries. The default value is -1, which sets the
(Kinesis and DynamoDB Streams only) Discard records after the
@!attribute [rw] maximum_retry_attempts
@return [Boolean]
error, split the batch in two and retry. The default value is false.
(Kinesis and DynamoDB Streams only) If the function returns an
@!attribute [rw] bisect_batch_on_function_error
@return [Integer]
</note>
absolute range, they are not allowed
values less than 60 and greater than -1 fall within the parameter’s
<note markdown=“1”> The minimum valid value for maximum record age is 60s. Although
discards old records.
to infinite. When the value is set to infinite, Lambda never
specified age. The default value is -1, which sets the maximum age
(Kinesis and DynamoDB Streams only) Discard records older than the
@!attribute [rw] maximum_record_age_in_seconds
@return [Types::SelfManagedEventSource]
The self-managed Apache Kafka cluster for your event source.
@!attribute [rw] self_managed_event_source
@return [Array<Types::SourceAccessConfiguration>]
host to secure and define your event source.
An array of the authentication protocol, VPC components, or virtual
@!attribute [rw] source_access_configurations
@return [Array<String>]
consume.
(Amazon MQ) The name of the Amazon MQ broker destination queue to
@!attribute [rw] queues
@return [Array<String>]
The name of the Kafka topic.
@!attribute [rw] topics
@return [Types::DestinationConfig]
destination of an event after Lambda processes it.
Kafka event sources only) A configuration object that specifies the
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache
@!attribute [rw] destination_config
@return [String]
source mapping.
Indicates whether a user or Lambda made the last change to the event
@!attribute [rw] state_transition_reason
@return [String]
‘Disabled`, `Updating`, or `Deleting`.
following: `Creating`, `Enabling`, `Enabled`, `Disabling`,
The state of the event source mapping. It can be one of the
@!attribute [rw] state
@return [String]
The result of the event source mapping’s last processing attempt.
@!attribute [rw] last_processing_result
@return [Time]
state changed.
The date that the event source mapping was last updated or that its
@!attribute [rw] last_modified
@return [String]
The ARN of the Lambda function.
@!attribute [rw] function_arn
@return [Types::FilterCriteria]<br>: docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html<br><br><br><br>for the correct KMS key.
DeleteEventSourceMapping calls if you have ‘kms:Decrypt` permissions
field in plaintext in the response of GetEventSourceMapping and
the response of ListEventSourceMapping API calls. You can view this
If filter criteria is encrypted, this field shows up as `null` in
event filtering].
Lambda should process an event. For more information, see [Lambda
An object that defines the filter criteria that determine whether
@!attribute [rw] filter_criteria
@return [String]
The Amazon Resource Name (ARN) of the event source.
@!attribute [rw] event_source_arn
@return [Integer]
concurrently from each shard. The default value is 1.
(Kinesis and DynamoDB Streams only) The number of batches to process
@!attribute [rw] parallelization_factor
@return [Integer]
`MaximumBatchingWindowInSeconds` to at least 1.
set `BatchSize` to a value greater than 10, you must set
Related setting: For streams and Amazon SQS event sources, when you
create a new event source mapping.
have changed it. To restore the default batching window, you must
cannot revert back to the 500 ms default batching window after you
`MaximumBatchingWindowInSeconds` in increments of seconds, you
is 500 ms. Note that because you can only change
Amazon MQ, and DocumentDB event sources, the default batching window
window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka,
For streams and Amazon SQS event sources, the default batching
seconds in increments of seconds.
`MaximumBatchingWindowInSeconds` to any value from 0 seconds to 300
records before invoking the function. You can configure
The maximum amount of time, in seconds, that Lambda spends gathering
@!attribute [rw] maximum_batching_window_in_seconds
@return [Integer]
10, you must set `MaximumBatchingWindowInSeconds` to at least 1.
Related setting: When you set `BatchSize` to a value greater than
For all other services, the default is 100.
Default value: Varies by service. For Amazon SQS, the default is 10.
the payload limit for synchronous invocation (6 MB).
of the records in the batch to the function in a single call, up to
your stream or queue and sends to your function. Lambda passes all
The maximum number of records in each batch that Lambda pulls from
@!attribute [rw] batch_size
@return [Time]
future.
to start reading. `StartingPositionTimestamp` cannot be in the
With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
@!attribute [rw] starting_position_timestamp
@return [String]
DocumentDB, Amazon MSK, and self-managed Apache Kafka.
`AT_TIMESTAMP` is supported only for Amazon Kinesis streams, Amazon
Amazon Kinesis and Amazon DynamoDB Stream event sources.
The position in a stream from which to start reading. Required for
@!attribute [rw] starting_position
@return [String]
The identifier of the event source mapping.
@!attribute [rw] uuid
function. For details, see CreateEventSourceMapping.
A mapping between an Amazon Web Services resource and a Lambda