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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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

Returns:

  • (String)


2979
2980
2981
2982
2983
2984
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2979

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

#tagsArray<Types::Tag>

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

Returns:



2979
2980
2981
2982
2983
2984
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2979

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