paws.management (version 0.5.0)

cloudwatchevents_test_event_pattern: Tests whether the specified event pattern matches the provided event

Description

Tests whether the specified event pattern matches the provided event.

See https://www.paws-r-sdk.com/docs/cloudwatchevents_test_event_pattern/ for full documentation.

Usage

cloudwatchevents_test_event_pattern(EventPattern, Event)

Arguments

EventPattern

[required] The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

Event

[required] 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