class
Amazonite::Lambda::DestinationConfig
- Amazonite::Lambda::DestinationConfig
- Reference
- Object
Overview
A configuration object that specifies the destination of an event after Lambda processes it. For more information, see Adding a destination.
Included Modules
- JSON::Serializable
Defined in:
lambda/destination_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(on_success : OnSuccess | Nil = nil, on_failure : OnFailure | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#on_failure : OnFailure | Nil
The destination configuration for failed invocations.
-
#on_failure=(on_failure : OnFailure | Nil)
The destination configuration for failed invocations.
-
#on_success : OnSuccess | Nil
The destination configuration for successful invocations.
-
#on_success=(on_success : OnSuccess | Nil)
The destination configuration for successful invocations.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The destination configuration for failed invocations.
The destination configuration for failed invocations.
The destination configuration for successful invocations. Not supported in
CreateEventSourceMapping or UpdateEventSourceMapping.
The destination configuration for successful invocations. Not supported in
CreateEventSourceMapping or UpdateEventSourceMapping.