Class: Aws::SecurityHub::Types::AwsIamAccessKeySessionContextAttributes

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsIamAccessKeySessionContextAttributes data as a hash:

{
  mfa_authenticated: false,
  creation_date: "NonEmptyString",
}

Attributes of the session that the key was used for.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateString

Indicates when the session was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


10022
10023
10024
10025
10026
10027
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10022

class AwsIamAccessKeySessionContextAttributes < Struct.new(
  :mfa_authenticated,
  :creation_date)
  SENSITIVE = []
  include Aws::Structure
end

#mfa_authenticatedBoolean

Indicates whether the session used multi-factor authentication (MFA).

Returns:

  • (Boolean)


10022
10023
10024
10025
10026
10027
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10022

class AwsIamAccessKeySessionContextAttributes < Struct.new(
  :mfa_authenticated,
  :creation_date)
  SENSITIVE = []
  include Aws::Structure
end