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

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

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

Overview

Note:

When passing Attribute as input to an Aws::Client method, you can use a vanilla 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)

    The attribute key.

#valueString

The value assigned to the attribute key.

Returns:

  • (String)

    The value assigned to the attribute key.