Class: Aws::STS::Types::AssumedRoleUser

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sts/types.rb

Overview

The identifiers for the temporary security credentials that the operation returns.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Method Summary

Methods included from Aws::Structure

#empty?, included, #initialize, #key?, new, #to_h, #to_s

Instance Attribute Details

#arnString

The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see [IAM Identifiers] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html

Returns:

  • (String)

962
963
964
965
966
967
# File 'lib/aws-sdk-sts/types.rb', line 962

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

#assumed_role_idString

A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by Amazon Web Services when the role is created.

Returns:

  • (String)

962
963
964
965
966
967
# File 'lib/aws-sdk-sts/types.rb', line 962

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