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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourceInput as input to an Aws::Client method, you can use a vanilla 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)

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

#tagsArray<Types::Tag>

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

Returns:

  • (Array<Types::Tag>)

    A list of tags that TagResource associates with a resource.