Class: Aws::Lambda::Types::EventSourceMappingConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::EventSourceMappingConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
Describes mapping between an Amazon Kinesis or DynamoDB stream or an Amazon SQS queue and a Lambda function.
Instance Attribute Summary collapse
-
#batch_size ⇒ Integer
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.
-
#event_source_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream or the SQS queue that is the source of events.
-
#function_arn ⇒ String
The Lambda function to invoke when AWS Lambda detects an event on the poll-based source.
-
#last_modified ⇒ Time
The UTC time string indicating the last time the event mapping was updated.
-
#last_processing_result ⇒ String
The result of the last AWS Lambda invocation of your Lambda function.
-
#state ⇒ String
The state of the event source mapping.
-
#state_transition_reason ⇒ String
The reason the event source mapping is in its current state.
-
#uuid ⇒ String
The AWS Lambda assigned opaque identifier for the mapping.
Instance Attribute Details
#batch_size ⇒ Integer
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |
#event_source_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon Kinesis or DynamoDB stream or the SQS queue that is the source of events.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |
#function_arn ⇒ String
The Lambda function to invoke when AWS Lambda detects an event on the poll-based source.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |
#last_modified ⇒ Time
The UTC time string indicating the last time the event mapping was updated.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |
#last_processing_result ⇒ String
The result of the last AWS Lambda invocation of your Lambda function.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |
#state ⇒ String
The state of the event source mapping. It can be ‘Creating`, `Enabled`, `Disabled`, `Enabling`, `Disabling`, `Updating`, or `Deleting`.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |
#state_transition_reason ⇒ String
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |
#uuid ⇒ String
The AWS Lambda assigned opaque identifier for the mapping.
875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/aws-sdk-lambda/types.rb', line 875 class EventSourceMappingConfiguration < Struct.new( :uuid, :batch_size, :event_source_arn, :function_arn, :last_modified, :last_processing_result, :state, :state_transition_reason) include Aws::Structure end |