Class: Aws::CodePipeline::Types::TagResourceInput

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

Overview

Note:

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

{
  resource_arn: "ResourceArn", # 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 you want to add tags to.

Returns:

  • (String)


4012
4013
4014
4015
4016
4017
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4012

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:



4012
4013
4014
4015
4016
4017
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4012

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