class
Amazonite::CloudWatch::Entity
- Amazonite::CloudWatch::Entity
- Reference
- Object
Overview
An entity associated with metrics, to allow for finding related telemetry. An entity is typically a resource or service within your system. For example, metrics from an Amazon EC2 instance could be associated with that instance as the entity. Similarly, metrics from a service that you own could be associated with that service as the entity.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/entity.crConstructors
- .new(pull : JSON::PullParser)
- .new(key_attributes : Hash(String, String) | Nil = nil, attributes : Hash(String, String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#attributes : Hash(String, String) | Nil
Additional attributes of the entity that are not used to specify the identity of the entity.
-
#attributes=(attributes : Hash(String, String) | Nil)
Additional attributes of the entity that are not used to specify the identity of the entity.
-
#hash(hasher)
See
Object#hash(hasher) -
#key_attributes : Hash(String, String) | Nil
The attributes of the entity which identify the specific entity, as a list of key-value pairs.
-
#key_attributes=(key_attributes : Hash(String, String) | Nil)
The attributes of the entity which identify the specific entity, as a list of key-value pairs.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs.
For details about how to use the attributes, see How to add related information to telemetry in the CloudWatch User Guide.
Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs.
For details about how to use the attributes, see How to add related information to telemetry in the CloudWatch User Guide.
The attributes of the entity which identify the specific entity, as a list of key-value pairs.
Entities with the same KeyAttributes are considered to be the same entity. For an entity to be
valid, the KeyAttributes must exist and be formatted correctly.
There are five allowed attributes (key names): Type, ResourceType, Identifier, Name, and
Environment.
For details about how to use the key attributes to specify an entity, see How to add related information to telemetry in the CloudWatch User Guide.
The attributes of the entity which identify the specific entity, as a list of key-value pairs.
Entities with the same KeyAttributes are considered to be the same entity. For an entity to be
valid, the KeyAttributes must exist and be formatted correctly.
There are five allowed attributes (key names): Type, ResourceType, Identifier, Name, and
Environment.
For details about how to use the key attributes to specify an entity, see How to add related information to telemetry in the CloudWatch User Guide.