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

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

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

Overview

Note:

When making an API call, you may pass SetTagsForResourceRequest data as a 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)


2196
2197
2198
2199
2200
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2196

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

#tagsArray<Types::Tag>

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

Returns:



2196
2197
2198
2199
2200
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2196

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