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)


2744
2745
2746
2747
2748
2749
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2744

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:



2744
2745
2746
2747
2748
2749
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 2744

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