Event
import type { Event } from "https://aws-api.deno.dev/v0.4/services/health.ts?docs=full";
Summary information about an Health event.
Health events can be public or account-specific:
- Public events might be service events that are not specific to an Amazon Web Services account. For example, if there is an issue with an Amazon Web Services Region, Health provides information about the event, even if you don't use services or resources in that Region.
- Account-specific events are specific to either your Amazon Web Services account or an account in your organization. For example, if there's an issue with Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the event and the affected resources in the account.
You can determine if an event is public or account-specific by using the eventScopeCode
parameter.
For more information, see eventScopeCode.
§Properties
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
The Amazon Web Services Availability Zone of the event. For example, us-east-1a.
This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.
- If the
eventScopeCode
value isPUBLIC
, then theaffectedAccounts
value is always empty. - If the
eventScopeCode
value isACCOUNT_SPECIFIC
, then theaffectedAccounts
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service, those account IDs appear in the response. - If the
eventScopeCode
value isNONE
, then theeventArn
that you specified in the request is invalid or doesn't exist.
A list of event type category codes.
Possible values are issue
, accountNotification
, or scheduledChange
.
Currently, the investigation
value isn't supported at this time.
The unique identifier for the event type.
The format is AWS__SERVICE___DESCRIPTION_
; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT
.
The most recent date and time that the event was updated.
The Amazon Web Services service that is affected by the event.
For example, EC2
, RDS
.
The most recent status of the event.
Possible values are open
, closed
, and upcoming
.