AssumedRoleUser
in package
FinalYes
The identifiers for the temporary security credentials that the operation returns.
Table of Contents
Properties
- $arn : string
- 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 [^1] in the *IAM User Guide*.
- $assumedRoleId : string
- 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.
Methods
- __construct() : mixed
- create() : self
- getArn() : string
- getAssumedRoleId() : string
- throwException() : never
Properties
$arn
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 [^1] in the *IAM User Guide*.
private
string
$arn
$assumedRoleId
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.
private
string
$assumedRoleId
Methods
__construct()
public
__construct(array{AssumedRoleId: string, Arn: string} $input) : mixed
Parameters
- $input : array{AssumedRoleId: string, Arn: string}
create()
public
static create(array{AssumedRoleId: string, Arn: string}|AssumedRoleUser $input) : self
Parameters
- $input : array{AssumedRoleId: string, Arn: string}|AssumedRoleUser
Return values
selfgetArn()
public
getArn() : string
Return values
stringgetAssumedRoleId()
public
getAssumedRoleId() : string
Return values
stringthrowException()
private
throwException(Throwable $exception) : never
Parameters
- $exception : Throwable