AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.AWSHealth.Model.AffectedEntity

Namespace: Amazon.AWSHealth.Model
Assembly: AWSSDK.AWSHealth.dll
Version: 3.x.y.z

Syntax

C#
public class AffectedEntity

The AffectedEntity type exposes the following members

Constructors

NameDescription
Public Method AffectedEntity()

Properties

NameTypeDescription
Public Property AwsAccountId System.String

Gets and sets the property AwsAccountId.

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

Public Property EntityArn System.String

Gets and sets the property 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

Public Property EntityUrl System.String

Gets and sets the property EntityUrl.

The URL of the affected entity.

Public Property EntityValue System.String

Gets and sets the property EntityValue.

The ID of the affected entity.

Public Property EventArn System.String

Gets and sets the property 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

Public Property LastUpdatedTime System.DateTime

Gets and sets the property LastUpdatedTime.

The most recent time that the entity was updated.

Public Property StatusCode Amazon.AWSHealth.EntityStatusCode

Gets and sets the property StatusCode.

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

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

A map of entity tags attached to the affected entity.

Currently, the tags property isn't supported.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5