Class: Aws::Lambda::Types::DestinationConfig

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

Overview

A configuration object that specifies the destination of an event after Lambda processes it. For more information, see [Adding a destination].

[1]: docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#on_failureTypes::OnFailure

The destination configuration for failed invocations.

Returns:



1607
1608
1609
1610
1611
1612
# File 'lib/aws-sdk-lambda/types.rb', line 1607

class DestinationConfig < Struct.new(
  :on_success,
  :on_failure)
  SENSITIVE = []
  include Aws::Structure
end

#on_successTypes::OnSuccess

The destination configuration for successful invocations. Not supported in ‘CreateEventSourceMapping` or `UpdateEventSourceMapping`.

Returns:



1607
1608
1609
1610
1611
1612
# File 'lib/aws-sdk-lambda/types.rb', line 1607

class DestinationConfig < Struct.new(
  :on_success,
  :on_failure)
  SENSITIVE = []
  include Aws::Structure
end