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

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

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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

Returns:

  • (String)


4368
4369
4370
4371
4372
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4368

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



4368
4369
4370
4371
4372
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4368

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