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)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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_arnString

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

Returns:

  • (String)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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_arnString

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

Returns:

  • (String)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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_modifiedTime

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

Returns:

  • (Time)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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_resultString

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

Returns:

  • (String)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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

#stateString

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

Returns:

  • (String)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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_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)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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

#uuidString

The AWS Lambda assigned opaque identifier for the mapping.

Returns:

  • (String)


761
762
763
764
765
766
767
768
769
770
771
# File 'gems/aws-sdk-lambda/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