Skip to content

/AWS1/CL_AAAPRINCROLEENTDETS

Contains detailed information about a principal-to-role entitlement, including the target account.

CONSTRUCTOR

IMPORTING

Required arguments:

io_principal TYPE REF TO /AWS1/CL_AAAPRINCIPAL /AWS1/CL_AAAPRINCIPAL

The principal (user or group) that is granted access to assume the IAM role.

iv_rolearn TYPE /AWS1/AAAROLEARN /AWS1/AAAROLEARN

The ARN of the IAM role that the principal can assume.

iv_account TYPE /AWS1/AAAACCOUNT /AWS1/AAAACCOUNT

The 12-digit Amazon Web Services account ID where the IAM role resides.

Optional arguments:

iv_accountname TYPE /AWS1/AAASTRING /AWS1/AAASTRING

The friendly name of the Amazon Web Services account where the IAM role resides.


Queryable Attributes

principal

The principal (user or group) that is granted access to assume the IAM role.

Accessible with the following methods

Method Description
GET_PRINCIPAL() Getter for PRINCIPAL

roleArn

The ARN of the IAM role that the principal can assume.

Accessible with the following methods

Method Description
GET_ROLEARN() Getter for ROLEARN, with configurable default
ASK_ROLEARN() Getter for ROLEARN w/ exceptions if field has no value
HAS_ROLEARN() Determine if ROLEARN has a value

account

The 12-digit Amazon Web Services account ID where the IAM role resides.

Accessible with the following methods

Method Description
GET_ACCOUNT() Getter for ACCOUNT, with configurable default
ASK_ACCOUNT() Getter for ACCOUNT w/ exceptions if field has no value
HAS_ACCOUNT() Determine if ACCOUNT has a value

accountName

The friendly name of the Amazon Web Services account where the IAM role resides.

Accessible with the following methods

Method Description
GET_ACCOUNTNAME() Getter for ACCOUNTNAME, with configurable default
ASK_ACCOUNTNAME() Getter for ACCOUNTNAME w/ exceptions if field has no value
HAS_ACCOUNTNAME() Determine if ACCOUNTNAME has a value