Class: Aws::STS::Types::ScopedSession

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

Overview

Identifiers for the scoped session that GetScopedCredentials returns. The underlying identity and session name do not change from the caller principal.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The ARN of the scoped session. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2250

class ScopedSession < Struct.new(
  :scoped_session_id,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end

#scoped_session_id ⇒ String

A unique identifier for the scoped session. Because the identity is preserved, this identifies the same principal as the calling session.

Returns:

  • (String)


2250
2251
2252
2253
2254
2255
# File 'gems/aws-sdk-core/lib/aws-sdk-sts/types.rb', line 2250

class ScopedSession < Struct.new(
  :scoped_session_id,
  :arn)
  SENSITIVE = []
  include Aws::Structure
end