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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

Describes mapping between an Amazon Kinesis stream and a Lambda function.

Instance Attribute Summary collapse

Instance Attribute Details

#batch_sizeInteger

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.

Returns:

  • (Integer)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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_arnString

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

Returns:

  • (String)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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_arnString

The Lambda function to invoke when AWS Lambda detects an event on the stream.

Returns:

  • (String)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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_modifiedTime

The UTC time string indicating the last time the event mapping was updated.

Returns:

  • (Time)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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_resultString

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

Returns:

  • (String)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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

#stateString

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

Returns:

  • (String)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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_reasonString

The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

Returns:

  • (String)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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

#uuidString

The AWS Lambda assigned opaque identifier for the mapping.

Returns:

  • (String)


844
845
846
847
848
849
850
851
852
853
854
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 844

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