You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchEvents::Types::TestEventPatternRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TestEventPatternRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  event_pattern: "EventPattern", # required
  event: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

The event, in JSON format, to test against the event pattern.

Returns:

  • (String)

    The event, in JSON format, to test against the event pattern.

#event_patternString

The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide.

Returns:

  • (String)

    The event pattern.