EntityAccountFilter - AWS Health

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

See Also

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