Class: Aws::ECS::Types::Attribute
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::ECS::Types::Attribute
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-ecs/types.rb
 
Overview
An attribute is a name-value pair that’s associated with an Amazon ECS object. Use attributes to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see
- Attributes][1
 - 
in the *Amazon Elastic Container Service Developer
 
Guide*.
[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the attribute.
 - 
  
    
      #target_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the target.
 - 
  
    
      #target_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of the target to attach the attribute with.
 - 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The value of the attribute.
 
Instance Attribute Details
#name ⇒ String
The name of the attribute. The ‘name` must contain between 1 and 128 characters. The name may contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), forward slashes (/), back slashes (\), or periods (.).
      118 119 120 121 122 123 124 125  | 
    
      # File 'lib/aws-sdk-ecs/types.rb', line 118 class Attribute < Struct.new( :name, :value, :target_type, :target_id) SENSITIVE = [] include Aws::Structure end  | 
  
#target_id ⇒ String
The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN).
      118 119 120 121 122 123 124 125  | 
    
      # File 'lib/aws-sdk-ecs/types.rb', line 118 class Attribute < Struct.new( :name, :value, :target_type, :target_id) SENSITIVE = [] include Aws::Structure end  | 
  
#target_type ⇒ String
The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN.
      118 119 120 121 122 123 124 125  | 
    
      # File 'lib/aws-sdk-ecs/types.rb', line 118 class Attribute < Struct.new( :name, :value, :target_type, :target_id) SENSITIVE = [] include Aws::Structure end  | 
  
#value ⇒ String
The value of the attribute. The ‘value` must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons (:), or spaces. The value can’t start or end with a space.
      118 119 120 121 122 123 124 125  | 
    
      # File 'lib/aws-sdk-ecs/types.rb', line 118 class Attribute < Struct.new( :name, :value, :target_type, :target_id) SENSITIVE = [] include Aws::Structure end  |