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

Class: Aws::Inspector::Types::Attribute

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

{
  key: "AttributeKey", # required
  value: "AttributeValue",
}

This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The attribute key.

Returns:

  • (String)


621
622
623
624
625
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 621

class Attribute < Struct.new(
  :key,
  :value)
  include Aws::Structure
end

#valueString

The value assigned to the attribute key.

Returns:

  • (String)


621
622
623
624
625
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 621

class Attribute < Struct.new(
  :key,
  :value)
  include Aws::Structure
end