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

Class: Aws::Inspector::Types::AddAttributesToFindingsRequest

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 AddAttributesToFindingsRequest data as a hash:

{
  finding_arns: ["Arn"], # required
  attributes: [ # required
    {
      key: "AttributeKey", # required
      value: "AttributeValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<Types::Attribute>

The array of attributes that you want to assign to specified findings.

Returns:



36
37
38
39
40
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 36

class AddAttributesToFindingsRequest < Struct.new(
  :finding_arns,
  :attributes)
  include Aws::Structure
end

#finding_arnsArray<String>

The ARNs that specify the findings that you want to assign attributes to.

Returns:

  • (Array<String>)


36
37
38
39
40
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 36

class AddAttributesToFindingsRequest < Struct.new(
  :finding_arns,
  :attributes)
  include Aws::Structure
end