Class: Aws::CodeDeploy::Types::TagResourceInput

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

Overview

Note:

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

{
  resource_arn: "Arn", # required
  tags: [ # required
    {
      key: "Key",
      value: "Value",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of a resource, such as a CodeDeploy application or deployment group.

Returns:

  • (String)


5328
5329
5330
5331
5332
5333
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5328

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

#tagsArray<Types::Tag>

A list of tags that TagResource associates with a resource. The resource is identified by the ResourceArn input parameter.

Returns:



5328
5329
5330
5331
5332
5333
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 5328

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