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

Class: Aws::Inspector::Types::SetTagsForResourceRequest

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

Overview

Note:

When passing SetTagsForResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the assessment template that you want to set tags to.

Returns:

  • (String)

    The ARN of the assessment template that you want to set tags to.

#tagsArray<Types::Tag>

A collection of key and value pairs that you want to set to the assessment template.

Returns:

  • (Array<Types::Tag>)

    A collection of key and value pairs that you want to set to the assessment template.