

# EntityAccountFilter


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

## Contents


 ** eventArn **   <a name="AWSHealth-Type-EntityAccountFilter-eventArn"></a>
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 **   <a name="AWSHealth-Type-EntityAccountFilter-awsAccountId"></a>
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 name="AWSHealth-Type-EntityAccountFilter-statusCodes"></a>
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:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/health-2016-08-04/EntityAccountFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/health-2016-08-04/EntityAccountFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/health-2016-08-04/EntityAccountFilter) 