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

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

Overview

Note:

When making an API call, you may pass DestinationConfig data as a hash:

{
  on_success: {
    destination: "DestinationArn",
  },
  on_failure: {
    destination: "DestinationArn",
  },
}

A configuration object that specifies the destination of an event after Lambda processes it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#on_failureTypes::OnFailure

The destination configuration for failed invocations.

Returns:



1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1047

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

#on_successTypes::OnSuccess

The destination configuration for successful invocations.

Returns:



1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1047

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