You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lambda::Types::EventSourceMappingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#batch_sizeInteger

The maximum number of items to retrieve in a single batch.

Returns:

  • (Integer)

    The maximum number of items to retrieve in a single batch.

#bisect_batch_on_function_errorBoolean

(Streams) If the function returns an error, split the batch in two and retry.

Returns:

  • (Boolean)

    (Streams) If the function returns an error, split the batch in two and retry.

#destination_configTypes::DestinationConfig

(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

Returns:

#event_source_arnString

The Amazon Resource Name (ARN) of the event source.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the event source.

#function_arnString

The ARN of the Lambda function.

Returns:

  • (String)

    The ARN of the Lambda function.

#last_modifiedTime

The date that the event source mapping was last updated, or its state changed.

Returns:

  • (Time)

    The date that the event source mapping was last updated, or its state changed.

#last_processing_resultString

The result of the last AWS Lambda invocation of your Lambda function.

Returns:

  • (String)

    The result of the last AWS Lambda invocation of your Lambda function.

#maximum_batching_window_in_secondsInteger

The maximum amount of time to gather records before invoking the function, in seconds.

Returns:

  • (Integer)

    The maximum amount of time to gather records before invoking the function, in seconds.

#maximum_record_age_in_secondsInteger

(Streams) The maximum age of a record that Lambda sends to a function for processing.

Returns:

  • (Integer)

    (Streams) The maximum age of a record that Lambda sends to a function for processing.

#maximum_retry_attemptsInteger

(Streams) The maximum number of times to retry when the function returns an error.

Returns:

  • (Integer)

    (Streams) The maximum number of times to retry when the function returns an error.

#parallelization_factorInteger

(Streams) The number of batches to process from each shard concurrently.

Returns:

  • (Integer)

    (Streams) The number of batches to process from each shard concurrently.

#stateString

The state of the event source mapping. It can be one of the following: Creating, Enabling, Enabled, Disabling, Disabled, Updating, or Deleting.

Returns:

  • (String)

    The state of the event source mapping.

#state_transition_reasonString

Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.

Returns:

  • (String)

    Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.

#uuidString

The identifier of the event source mapping.

Returns:

  • (String)

    The identifier of the event source mapping.