class
Amazonite::EventBridge::TestEventPatternRequest
- Amazonite::EventBridge::TestEventPatternRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
eventbridge/test_event_pattern_request.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#event : String
The event, in JSON format, to test against the event pattern.
-
#event=(event : String)
The event, in JSON format, to test against the event pattern.
-
#event_pattern : String
The event pattern.
-
#event_pattern=(event_pattern : String)
The event pattern.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:
-
id -
account -
source -
time -
region -
resources -
detail-type
The event, in JSON format, to test against the event pattern. The JSON must follow the format specified in Amazon Web Services Events, and the following fields are mandatory:
-
id -
account -
source -
time -
region -
resources -
detail-type
The event pattern. For more information, see Events and Event Patterns in the * Amazon EventBridge User Guide *.
The event pattern. For more information, see Events and Event Patterns in the * Amazon EventBridge User Guide *.