AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::CodeStarconnections::Types::TagResourceInput

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

Overview

Note:

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

{
  resource_arn: "AmazonResourceName", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.

Returns:

  • (String)


654
655
656
657
658
659
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 654

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

#tagsArray<Types::Tag>

The tags you want to modify or add to the resource.

Returns:



654
655
656
657
658
659
# File 'gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/types.rb', line 654

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