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

Inherits:
Struct
  • Object
show all
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

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)


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_arnString

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

Returns:

  • (String)


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_arnString

The Lambda function to invoke when AWS Lambda detects an event on the poll-based source.

Returns:

  • (String)


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_modifiedTime

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

Returns:

  • (Time)


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_resultString

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

Returns:

  • (String)


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

#stateString

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

Returns:

  • (String)


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_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)


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

#uuidString

The AWS Lambda assigned opaque identifier for the mapping.

Returns:

  • (String)


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