class Amazonite::Lambda::DestinationConfig

Overview

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

Included Modules

Defined in:

lambda/destination_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(on_success : OnSuccess | Nil = nil, on_failure : OnFailure | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def on_failure : OnFailure | Nil #

The destination configuration for failed invocations.


[View source]
def on_failure=(on_failure : OnFailure | Nil) #

The destination configuration for failed invocations.


[View source]
def on_success : OnSuccess | Nil #

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


[View source]
def on_success=(on_success : OnSuccess | Nil) #

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


[View source]
def validate! : Nil #

[View source]