View a markdown version of this page

TestRunSourceEvent - Next generation Resilience Hub

TestRunSourceEvent

A state-change event observed for a test run monitoring source.

Contents

detail

The event payload.

Type: TestRunSourceEventDetail object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

eventType

The type of the event. ALARM indicates an event from a CloudWatch alarm source; the detail member carries either the alarm state change or a collection error.

Type: String

Valid Values: ALARM

Required: Yes

sourceArn

The ARN of the monitoring source the event belongs to.

Type: String

Length Constraints: Minimum length of 31. Maximum length of 1024.

Pattern: arn:aws[a-zA-Z-]*:[a-z][a-z0-9-]*:[a-z]{2}(-[a-z]+)+-\d{1}:\d{12}:.+

Required: Yes

timestamp

The timestamp when the event occurred.

Type: Timestamp

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: