AffectedEntity - 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.

AffectedEntity

Information about an entity that is affected by a Health event.

Contents

accountTags

A map of account tag key-value pairs for the account that owns the affected entity. This field is returned only by DescribeAffectedEntitiesForOrganization and is not populated by DescribeAffectedEntities.

Type: String to string map

Map Entries: Maximum number of 10 items.

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

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

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

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

Required: No

awsAccountId

The 12-digit AWS account number that contains the affected entity.

Type: String

Length Constraints: Maximum length of 12.

Pattern: ^\S+$

Required: No

entityArn

The unique identifier for the entity. Format: arn:aws:health:entity-region:aws-account:entity/entity-id . Example: arn:aws:health:us-east-1:111222333444:entity/AVh5GGT7ul1arKr1sE1K

Type: String

Length Constraints: Maximum length of 1600.

Pattern: .{0,1600}

Required: No

entityMetadata

Additional metadata about the affected entity.

Type: String to string map

Key Length Constraints: Maximum length of 1024.

Value Length Constraints: Maximum length of 1024.

Required: No

entityUrl

The URL of the affected entity.

Type: String

Required: No

entityValue

The ID of the affected entity.

Type: String

Length Constraints: Maximum length of 1224.

Pattern: .{0,1224}

Required: No

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: No

lastUpdatedTime

The most recent time that the entity was updated.

Type: Timestamp

Required: No

resourceTags

A map of resource tag key-value pairs attached to the affected entity.

Type: String to string map

Map Entries: Maximum number of 10 items.

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

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

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

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

Required: No

statusCode

The most recent status of the entity affected by the event. The possible values are IMPAIRED, UNIMPAIRED, UNKNOWN, PENDING, and RESOLVED.

Type: String

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: