class Aws::ECS::Types::Attribute
An attribute is a name-value pair associated with an Amazon ECS
object. Attributes enable you to extend the Amazon ECS
data model by adding custom metadata to your resources. For more information, see
Guide*.
[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes
@note When making an API call, you may pass Attribute
data as a hash: { name: "String", # required value: "String", target_type: "container-instance", # accepts container-instance target_id: "String", }
@!attribute [rw] name
The name of the attribute. The `name` must contain between 1 and 128 characters and name may contain letters (uppercase and lowercase), numbers, hyphens, underscores, forward slashes, back slashes, or periods. @return [String]
@!attribute [rw] value
The value of the attribute. The `value` must contain between 1 and 128 characters and may contain letters (uppercase and lowercase), numbers, hyphens, underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. The value cannot contain any leading or trailing whitespace. @return [String]
@!attribute [rw] target_type
The type of the target with which to attach the attribute. This parameter is required if you use the short form ID for a resource instead of the full ARN. @return [String]
@!attribute [rw] target_id
The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN). @return [String]
@see docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Attribute AWS API Documentation
Constants
- SENSITIVE