Class: Aws::ECS::Types::PutAttributesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::PutAttributesRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass PutAttributesRequest data as a hash:
{
cluster: "String",
attributes: [ # required
{
name: "String", # required
value: "String",
target_type: "container-instance", # accepts container-instance
target_id: "String",
},
],
}
Instance Attribute Summary collapse
-
#attributes ⇒ Array<Types::Attribute>
The attributes to apply to your resource.
-
#cluster ⇒ String
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes.
Instance Attribute Details
#attributes ⇒ Array<Types::Attribute>
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
4511 4512 4513 4514 4515 |
# File 'lib/aws-sdk-ecs/types.rb', line 4511 class PutAttributesRequest < Struct.new( :cluster, :attributes) include Aws::Structure end |
#cluster ⇒ String
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
4511 4512 4513 4514 4515 |
# File 'lib/aws-sdk-ecs/types.rb', line 4511 class PutAttributesRequest < Struct.new( :cluster, :attributes) include Aws::Structure end |