Class: Aws::Health::Types::EventType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-health/lib/aws-sdk-health/types.rb

Overview

Contains the metadata about a type of event that is reported by Health. The EventType shows the category, service, and the event type code of the event. For example, an issue might be the category, EC2 the service, and AWS_EC2_SYSTEM_MAINTENANCE_EVENT the event type code.

You can use the DescribeEventTypes API operation to return this information about an event.

You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or take action when Health delivers a specific event to your Amazon Web Services account. For more information, see Monitor for Health events with Amazon CloudWatch Events in the Health User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

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

Returns:

  • (String)


1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 1233

class EventType < Struct.new(
  :service,
  :code,
  :category)
  SENSITIVE = []
  include Aws::Structure
end

#codeString

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

Returns:

  • (String)


1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 1233

class EventType < Struct.new(
  :service,
  :code,
  :category)
  SENSITIVE = []
  include Aws::Structure
end

#serviceString

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

Returns:

  • (String)


1233
1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 1233

class EventType < Struct.new(
  :service,
  :code,
  :category)
  SENSITIVE = []
  include Aws::Structure
end