Class: Aws::EventBridge::Types::TestEventPatternRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-eventbridge/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

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

Returns:

  • (String)


4859
4860
4861
4862
4863
4864
# File 'lib/aws-sdk-eventbridge/types.rb', line 4859

class TestEventPatternRequest < Struct.new(
  :event_pattern,
  :event)
  SENSITIVE = []
  include Aws::Structure
end

#event_patternString

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

Returns:

  • (String)


4859
4860
4861
4862
4863
4864
# File 'lib/aws-sdk-eventbridge/types.rb', line 4859

class TestEventPatternRequest < Struct.new(
  :event_pattern,
  :event)
  SENSITIVE = []
  include Aws::Structure
end