aws.health.describe_affected_entities
Example SQL Queries
SELECT * FROMaws.health.describe_affected_entitiesWHERE"filter" = 'VALUE';Description
Returns a list of entities that have been affected by the specified events, based on the specified filter criteria. Entities can refer to individual customer resources, groups of customer resources, or any other construct, depending on the Amazon Web Service. Events that have impact beyond that of the affected entities, or where the extent of impact is unknown, include at least one entity indicating this.
At least one event ARN is required.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more information, see Resource- and action-based conditions in the Health User Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| filter Required Input Column Values to narrow the results returned. At least one event ARN is required. | STRUCT( |
Show child fields
| |
| locale Input Column The locale (language) to return information in. English (en) is the default and the only supported value at this time. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| aws_account_id The 12-digit Amazon Web Services account number that contains the affected entity. | VARCHAR |
| entity_arn 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 | VARCHAR |
| entity_url The URL of the affected entity. | VARCHAR |
| entity_value The ID of the affected entity. | VARCHAR |
| event_arn 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 | VARCHAR |
| last_updated_time The most recent time that the entity was updated. | TIMESTAMP_S |
| status_code The most recent status of the entity affected by the event. The possible values are IMPAIRED, UNIMPAIRED, and UNKNOWN. | VARCHAR |
| tags A map of entity tags attached to the affected entity. Currently, the tags property isn't supported. | MAP(VARCHAR, VARCHAR) |