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

Class: Aws::SecurityHub::Types::AwsIamAccessKeyDetails

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

Overview

Note:

When passing AwsIamAccessKeyDetails as input to an Aws::Client method, you can use a vanilla Hash:

{
  user_name: "NonEmptyString",
  status: "Active", # accepts Active, Inactive
  created_at: "NonEmptyString",
  principal_id: "NonEmptyString",
  principal_type: "NonEmptyString",
  principal_name: "NonEmptyString",
}

IAM access key details related to a finding.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString

The creation date/time of the IAM access key related to a finding.

Returns:

  • (String)

    The creation date/time of the IAM access key related to a finding.

#principal_idString

The ID of the principal associated with an access key.

Returns:

  • (String)

    The ID of the principal associated with an access key.

#principal_nameString

The name of the principal.

Returns:

  • (String)

    The name of the principal.

#principal_typeString

The type of principal associated with an access key.

Returns:

  • (String)

    The type of principal associated with an access key.

#statusString

The status of the IAM access key related to a finding.

Possible values:

  • Active
  • Inactive

Returns:

  • (String)

    The status of the IAM access key related to a finding.

#user_nameString

The user associated with the IAM access key related to a finding.

The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.

Returns:

  • (String)

    The user associated with the IAM access key related to a finding.