Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AffectedEntity

import type { AffectedEntity } from "https://aws-api.deno.dev/v0.4/services/health.ts?docs=full";

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

interface AffectedEntity {
awsAccountId?: string | null;
entityArn?: string | null;
entityUrl?: string | null;
entityValue?: string | null;
eventArn?: string | null;
lastUpdatedTime?: Date | number | null;
statusCode?: entityStatusCode | null;
tags?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
awsAccountId?: string | null
[src]

The 12-digit Amazon Web Services account number that contains the affected entity.

§
entityArn?: string | null
[src]

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

§
entityUrl?: string | null
[src]

The URL of the affected entity.

§
entityValue?: string | null
[src]

The ID of the affected entity.

§
eventArn?: string | null
[src]

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
§
lastUpdatedTime?: Date | number | null
[src]

The most recent time that the entity was updated.

§
statusCode?: entityStatusCode | null
[src]

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

§
tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

A map of entity tags attached to the affected entity.

Note: Currently, the tags property isn't supported.