Class: Aws::EFS::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb

Overview

Note:

When making an API call, you may pass TagResourceRequest data as a hash:

{
  resource_id: "ResourceId", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The ID specifying the EFS resource that you want to create a tag for.

Returns:

  • (String)


2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2735

class TagResourceRequest < Struct.new(
  :resource_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

An array of Tag objects to add. Each Tag object is a key-value pair.

Returns:



2735
2736
2737
2738
2739
2740
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2735

class TagResourceRequest < Struct.new(
  :resource_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end