You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Health::Types::AffectedEntity

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#aws_account_idString

The 12-digit AWS account number that contains the affected entity.

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 49

class AffectedEntity < Struct.new(
  :entity_arn,
  :event_arn,
  :entity_value,
  :aws_account_id,
  :last_updated_time,
  :status_code,
  :tags)
  include Aws::Structure
end

#entity_arnString

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

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 49

class AffectedEntity < Struct.new(
  :entity_arn,
  :event_arn,
  :entity_value,
  :aws_account_id,
  :last_updated_time,
  :status_code,
  :tags)
  include Aws::Structure
end

#entity_valueString

The ID of the affected entity.

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 49

class AffectedEntity < Struct.new(
  :entity_arn,
  :event_arn,
  :entity_value,
  :aws_account_id,
  :last_updated_time,
  :status_code,
  :tags)
  include Aws::Structure
end

#event_arnString

The unique identifier for the event. Format: arn:aws:health:event-region::event/EVENT_TYPE_PLUS_ID. Example: arn:aws:health:us-east-1::event/AWS_EC2_MAINTENANCE_5331

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 49

class AffectedEntity < Struct.new(
  :entity_arn,
  :event_arn,
  :entity_value,
  :aws_account_id,
  :last_updated_time,
  :status_code,
  :tags)
  include Aws::Structure
end

#last_updated_timeTime

The most recent time that the entity was updated.

Returns:

  • (Time)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 49

class AffectedEntity < Struct.new(
  :entity_arn,
  :event_arn,
  :entity_value,
  :aws_account_id,
  :last_updated_time,
  :status_code,
  :tags)
  include Aws::Structure
end

#status_codeString

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

Returns:

  • (String)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 49

class AffectedEntity < Struct.new(
  :entity_arn,
  :event_arn,
  :entity_value,
  :aws_account_id,
  :last_updated_time,
  :status_code,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

A map of entity tags attached to the affected entity.

Returns:

  • (Hash<String,String>)


49
50
51
52
53
54
55
56
57
58
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 49

class AffectedEntity < Struct.new(
  :entity_arn,
  :event_arn,
  :entity_value,
  :aws_account_id,
  :last_updated_time,
  :status_code,
  :tags)
  include Aws::Structure
end