EntityAccountFilter - AWS Health
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

EntityAccountFilter

A JSON set of elements including the awsAccountId, eventArn and a set of statusCodes.

Contents

eventArn

The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID format.

For example, an event ARN might look like the following:

arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456

Type: String

Length Constraints: Maximum length of 1600.

Pattern: arn:aws(-[a-z]+(-[a-z]+)?)?:health:[^:]*:[^:]*:event(?:/[\w-]+){3}

Required: Yes

awsAccountId

The 12-digit AWS account numbers that contains the affected entities.

Type: String

Length Constraints: Maximum length of 12.

Pattern: ^\S+$

Required: No

statusCodes

A list of entity status codes.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Valid Values: IMPAIRED | UNIMPAIRED | UNKNOWN | PENDING | RESOLVED

Required: No

tags

A map of tag keys to lists of tag values. A tag matches when its key is in the map and its value is one of the values listed for that key. Matching is case sensitive, and the filter matches when at least one key in the map matches.

An entity is returned when the tags of the resource, or of the account it belongs to, match. When you specify several filters in organizationEntityAccountFilters, the tags must be identical in every filter.

Type: String to array of strings map

Map Entries: Minimum number of 0 items. Maximum number of 10 items.

Key Length Constraints: Minimum length of 1. Maximum length of 127.

Key Pattern: [a-zA-Z0-9 _.:\/=+\-@]{1,127}

Array Members: Minimum number of 1 item. Maximum number of 50 items.

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

Pattern: [a-zA-Z0-9 _.:\/=+\-@]{0,255}

Required: No

See Also

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