SourceEventMetadata - AWS User Notifications

SourceEventMetadata

Describes the metadata for a source event.

For more information, see Event structure reference in the Amazon EventBridge User Guide.

Contents

eventOccurrenceTime

The date and time the source event occurred. This is based on the Source Event.

Type: Timestamp

Required: Yes

eventType

The type of event. For example, an Amazon CloudWatch state change.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

eventTypeVersion

The version of the type of event.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 3.

Pattern: [0-9.]+

Required: Yes

relatedAccount

The Primary AWS account of Source Event

Type: String

Pattern: [0-9]{12}

Required: Yes

relatedResources

A list of resources related to this NotificationEvent.

Type: Array of Resource objects

Required: Yes

source

The AWS service the event originates from. For example aws.cloudwatch.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 36.

Pattern: aws.([a-z0-9\-])+

Required: Yes

sourceEventId

The source event id.

Type: String

Required: Yes

eventOriginRegion

The Region the event originated from.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 32.

Pattern: ([a-z]{1,2})-([a-z]{1,15}-)+([0-9])

Required: No

See Also

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