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 stream 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 stream that is the source of events.
-
#function_arn ⇒ String
The Lambda function to invoke when AWS Lambda detects an event on the stream.
-
#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.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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 stream that is the source of events.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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 stream.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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`.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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.
761 762 763 764 765 766 767 768 769 770 771 |
# File 'lib/aws-sdk-lambda/types.rb', line 761 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 |