Class: Aws::LambdaPreview::Types::EventSourceConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::LambdaPreview::Types::EventSourceConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambdapreview/types.rb
Overview
Describes mapping between an Amazon Kinesis stream and a Lambda function.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#batch_size ⇒ Integer
The largest number of records that AWS Lambda will POST in the invocation request to your function.
-
#event_source ⇒ String
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
-
#function_name ⇒ String
The Lambda function to invoke when AWS Lambda detects an event on the stream.
-
#is_active ⇒ Boolean
Indicates whether the event source mapping is currently honored.
-
#last_modified ⇒ Time
The UTC time string indicating the last time the event mapping was updated.
-
#parameters ⇒ Hash<String,String>
The map (key-value pairs) defining the configuration for AWS Lambda to use when reading the event source.
-
#role ⇒ String
The ARN of the IAM role (invocation role) that AWS Lambda can assume to read from the stream and invoke the function.
-
#status ⇒ String
The description of the health of the event source mapping.
-
#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 POST in the invocation request to your function.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#event_source ⇒ String
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#function_name ⇒ String
The Lambda function to invoke when AWS Lambda detects an event on the stream.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#is_active ⇒ Boolean
Indicates whether the event source mapping is currently honored. Events are only processes if IsActive is true.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#last_modified ⇒ Time
The UTC time string indicating the last time the event mapping was updated.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#parameters ⇒ Hash<String,String>
The map (key-value pairs) defining the configuration for AWS Lambda to use when reading the event source.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#role ⇒ String
The ARN of the IAM role (invocation role) that AWS Lambda can assume to read from the stream and invoke the function.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The description of the health of the event source mapping. Valid values are: “PENDING”, “OK”, and “PROBLEM:message”. Initially this staus is “PENDING”. When AWS Lambda begins processing events, it changes the status to “OK”.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |
#uuid ⇒ String
The AWS Lambda assigned opaque identifier for the mapping.
123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/aws-sdk-lambdapreview/types.rb', line 123 class EventSourceConfiguration < Struct.new( :uuid, :batch_size, :event_source, :function_name, :parameters, :role, :last_modified, :is_active, :status) SENSITIVE = [] include Aws::Structure end |