Class: Aws::Macie2::Types::AssumedRole

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

Overview

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the AssumeRole operation of the Security Token Service (STS) API.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

Returns:

  • (String)


205
206
207
208
209
210
211
212
213
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 205

class AssumedRole < Struct.new(
  :access_key_id,
  :account_id,
  :arn,
  :principal_id,
  :session_context)
  SENSITIVE = []
  include Aws::Structure
end

#account_idString

Returns:

  • (String)


205
206
207
208
209
210
211
212
213
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 205

class AssumedRole < Struct.new(
  :access_key_id,
  :account_id,
  :arn,
  :principal_id,
  :session_context)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

Returns:

  • (String)


205
206
207
208
209
210
211
212
213
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 205

class AssumedRole < Struct.new(
  :access_key_id,
  :account_id,
  :arn,
  :principal_id,
  :session_context)
  SENSITIVE = []
  include Aws::Structure
end

#principal_idString

Returns:

  • (String)


205
206
207
208
209
210
211
212
213
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 205

class AssumedRole < Struct.new(
  :access_key_id,
  :account_id,
  :arn,
  :principal_id,
  :session_context)
  SENSITIVE = []
  include Aws::Structure
end

#session_contextTypes::SessionContext

Provides information about a session that was created for an entity that performed an action by using temporary security credentials.



205
206
207
208
209
210
211
212
213
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 205

class AssumedRole < Struct.new(
  :access_key_id,
  :account_id,
  :arn,
  :principal_id,
  :session_context)
  SENSITIVE = []
  include Aws::Structure
end