Class: Aws::Backup::Types::TagResourceInput

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

Overview

Note:

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

{
  resource_arn: "ARN", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

An ARN that uniquely identifies a resource. The format of the ARN depends on the type of the tagged resource.

Returns:

  • (String)


4082
4083
4084
4085
4086
4087
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 4082

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

#tagsHash<String,String>

Key-value pairs that are used to help organize your resources. You can assign your own metadata to the resources you create.

Returns:

  • (Hash<String,String>)


4082
4083
4084
4085
4086
4087
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 4082

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