Class: Aws::CloudWatchEvents::Types::TestEventPatternRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchEvents::Types::TestEventPatternRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchevents/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event ⇒ String
The event, in JSON format, to test against the event pattern.
-
#event_pattern ⇒ String
The event pattern.
Instance Attribute Details
#event ⇒ String
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`
[1]: docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html
4024 4025 4026 4027 4028 4029 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 4024 class TestEventPatternRequest < Struct.new( :event_pattern, :event) SENSITIVE = [] include Aws::Structure end |
#event_pattern ⇒ String
The event pattern. For more information, see [Events and Event Patterns] in the *Amazon EventBridge User Guide*.
[1]: docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html
4024 4025 4026 4027 4028 4029 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 4024 class TestEventPatternRequest < Struct.new( :event_pattern, :event) SENSITIVE = [] include Aws::Structure end |