Class: Aws::ECS::Types::PutAttributesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<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.

Returns:



7123
7124
7125
7126
7127
7128
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 7123

class PutAttributesRequest < Struct.new(
  :cluster,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#clusterString

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.

Returns:

  • (String)


7123
7124
7125
7126
7127
7128
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 7123

class PutAttributesRequest < Struct.new(
  :cluster,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end