You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
  },
}

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)


3463
3464
3465
3466
3467
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 3463

class TagResourceInput < Struct.new(
  :resource_arn,
  :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>)


3463
3464
3465
3466
3467
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 3463

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