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

View source: R/cloudwatchevents_operations.R

cloudwatchevents_test_event_patternR Documentation

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


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.