Class: Aws::Health::Types::EntityAggregate

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

Overview

The number of entities that are affected by one or more events. Returned by the [DescribeEntityAggregates] operation.

[1]: docs.aws.amazon.com/health/latest/APIReference/API_DescribeEntityAggregates.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#countInteger

The number of entities that match the criteria for the specified events.

Returns:

  • (Integer)


793
794
795
796
797
798
799
# File 'lib/aws-sdk-health/types.rb', line 793

class EntityAggregate < Struct.new(
  :event_arn,
  :count,
  :statuses)
  SENSITIVE = []
  include Aws::Structure
end

#event_arnString

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`

Returns:

  • (String)


793
794
795
796
797
798
799
# File 'lib/aws-sdk-health/types.rb', line 793

class EntityAggregate < Struct.new(
  :event_arn,
  :count,
  :statuses)
  SENSITIVE = []
  include Aws::Structure
end

#statusesHash<String,Integer>

The number of affected entities aggregated by the entity status codes.

Returns:

  • (Hash<String,Integer>)


793
794
795
796
797
798
799
# File 'lib/aws-sdk-health/types.rb', line 793

class EntityAggregate < Struct.new(
  :event_arn,
  :count,
  :statuses)
  SENSITIVE = []
  include Aws::Structure
end