class Aws::Lambda::Types::EventSourceMappingConfiguration

A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.

@!attribute [rw] uuid

The identifier of the event source mapping.
@return [String]

@!attribute [rw] starting_position

The position in a stream from which to start reading. Required for
Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources.
`AT_TIMESTAMP` is supported only for Amazon Kinesis streams.
@return [String]

@!attribute [rw] starting_position_timestamp

With `StartingPosition` set to `AT_TIMESTAMP`, the time from which
to start reading.
@return [Time]

@!attribute [rw] batch_size

The maximum number of items to retrieve in a single batch.
@return [Integer]

@!attribute [rw] maximum_batching_window_in_seconds

(Streams and Amazon SQS standard queues) The maximum amount of time
to gather records before invoking the function, in seconds. The
default value is zero.
@return [Integer]

@!attribute [rw] parallelization_factor

(Streams only) The number of batches to process concurrently from
each shard. The default value is 1.
@return [Integer]

@!attribute [rw] event_source_arn

The Amazon Resource Name (ARN) of the event source.
@return [String]

@!attribute [rw] function_arn

The ARN of the Lambda function.
@return [String]

@!attribute [rw] last_modified

The date that the event source mapping was last updated or that its
state changed.
@return [Time]

@!attribute [rw] last_processing_result

The result of the last Lambda invocation of your function.
@return [String]

@!attribute [rw] state

The state of the event source mapping. It can be one of the
following: `Creating`, `Enabling`, `Enabled`, `Disabling`,
`Disabled`, `Updating`, or `Deleting`.
@return [String]

@!attribute [rw] state_transition_reason

Indicates whether a user or Lambda made the last change to the event
source mapping.
@return [String]

@!attribute [rw] destination_config

(Streams only) An Amazon SQS queue or Amazon SNS topic destination
for discarded records.
@return [Types::DestinationConfig]

@!attribute [rw] topics

The name of the Kafka topic.
@return [Array<String>]

@!attribute [rw] queues

(Amazon MQ) The name of the Amazon MQ broker destination queue to
consume.
@return [Array<String>]

@!attribute [rw] source_access_configurations

An array of the authentication protocol, VPC components, or virtual
host to secure and define your event source.
@return [Array<Types::SourceAccessConfiguration>]

@!attribute [rw] self_managed_event_source

The self-managed Apache Kafka cluster for your event source.
@return [Types::SelfManagedEventSource]

@!attribute [rw] maximum_record_age_in_seconds

(Streams only) Discard records older than the specified age. The
default value is -1, which sets the maximum age to infinite. When
the value is set to infinite, Lambda never discards old records.
@return [Integer]

@!attribute [rw] bisect_batch_on_function_error

(Streams only) If the function returns an error, split the batch in
two and retry. The default value is false.
@return [Boolean]

@!attribute [rw] maximum_retry_attempts

(Streams only) Discard records after the specified number of
retries. The default value is -1, which sets the maximum number of
retries to infinite. When MaximumRetryAttempts is infinite, Lambda
retries failed records until the record expires in the event source.
@return [Integer]

@!attribute [rw] tumbling_window_in_seconds

(Streams only) The duration in seconds of a processing window. The
range is 1–900 seconds.
@return [Integer]

@!attribute [rw] function_response_types

(Streams only) A list of current response type enums applied to the
event source mapping.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation

Constants

SENSITIVE