Class: Aws::Health::Types::AffectedEntity
- Inherits:
-
Struct
- Object
- Struct
- Aws::Health::Types::AffectedEntity
- Defined in:
- gems/aws-sdk-health/lib/aws-sdk-health/types.rb
Overview
Information about an entity that is affected by a Health event.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_tags ⇒ Hash<String,String>
A map of account tag key-value pairs for the account that owns the affected entity.
-
#aws_account_id ⇒ String
The 12-digit Amazon Web Services account number that contains the affected entity.
-
#entity_arn ⇒ String
The unique identifier for the entity.
-
#entity_metadata ⇒ Hash<String,String>
Additional metadata about the affected entity.
-
#entity_url ⇒ String
The URL of the affected entity.
-
#entity_value ⇒ String
The ID of the affected entity.
-
#event_arn ⇒ String
The unique identifier for the event.
-
#last_updated_time ⇒ Time
The most recent time that the entity was updated.
-
#resource_tags ⇒ Hash<String,String>
A map of resource tag key-value pairs attached to the affected entity.
-
#status_code ⇒ String
The most recent status of the entity affected by the event.
Instance Attribute Details
#account_tags ⇒ Hash<String,String>
A map of account tag key-value pairs for the account that owns the affected entity. This field is returned only by DescribeAffectedEntitiesForOrganization and is not populated by DescribeAffectedEntities.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#aws_account_id ⇒ String
The 12-digit Amazon Web Services account number that contains the affected entity.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#entity_arn ⇒ String
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
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#entity_metadata ⇒ Hash<String,String>
Additional metadata about the affected entity.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#entity_url ⇒ String
The URL of the affected entity.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#entity_value ⇒ String
The ID of the affected entity.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#event_arn ⇒ String
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
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#last_updated_time ⇒ Time
The most recent time that the entity was updated.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#resource_tags ⇒ Hash<String,String>
A map of resource tag key-value pairs attached to the affected entity.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |
#status_code ⇒ String
The most recent status of the entity affected by the event. The
possible values are IMPAIRED, UNIMPAIRED, UNKNOWN, PENDING,
and RESOLVED.
178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'gems/aws-sdk-health/lib/aws-sdk-health/types.rb', line 178 class AffectedEntity < Struct.new( :entity_arn, :event_arn, :entity_value, :entity_url, :aws_account_id, :last_updated_time, :status_code, :resource_tags, :account_tags, :entity_metadata) SENSITIVE = [] include Aws::Structure end |