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.

Summary information about an Health event.

Health events can be public or account-specific:

You can determine if an event is public or account-specific by using the eventScopeCode parameter. For more information, see eventScopeCode.

Inheritance Hierarchy

System.Object
  Amazon.AWSHealth.Model.Event

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

Syntax

C#
public class Event

The Event type exposes the following members

Constructors

NameDescription
Public Method Event()

Properties

NameTypeDescription
Public Property Arn System.String

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

Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Amazon Web Services Availability Zone of the event. For example, us-east-1a.

Public Property EndTime System.DateTime

Gets and sets the property EndTime.

The date and time that the event ended.

Public Property EventScopeCode Amazon.AWSHealth.EventScopeCode

Gets and sets the property EventScopeCode.

This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.

  • If the eventScopeCode value is PUBLIC, then the affectedAccounts value is always empty.

  • If the eventScopeCode value is ACCOUNT_SPECIFIC, then the affectedAccounts 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 is NONE, then the eventArn that you specified in the request is invalid or doesn't exist.

Public Property EventTypeCategory Amazon.AWSHealth.EventTypeCategory

Gets and sets the property EventTypeCategory.

A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the investigation value isn't supported at this time.

Public Property EventTypeCode System.String

Gets and sets the property EventTypeCode.

The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT.

Public Property LastUpdatedTime System.DateTime

Gets and sets the property LastUpdatedTime.

The most recent date and time that the event was updated.

Public Property Region System.String

Gets and sets the property Region.

The Amazon Web Services Region name of the event.

Public Property Service System.String

Gets and sets the property Service.

The Amazon Web Service that is affected by the event. For example, EC2, RDS.

Public Property StartTime System.DateTime

Gets and sets the property StartTime.

The date and time that the event began.

Public Property StatusCode Amazon.AWSHealth.EventStatusCode

Gets and sets the property StatusCode.

The most recent status of the event. Possible values are open, closed, and upcoming.

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