Skip to content

/AWS1/CL_IABATTACHEDTO

An entity that a policy is attached to, identified by its ARN.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_arn TYPE /AWS1/IABSTRING /AWS1/IABSTRING

The ARN of the entity that the policy is attached to. The ARN format depends on the policy type:

  • For identity, session, and permissions boundary policies, this is the principal ARN (for example, an IAM role or user ARN).

  • For resource-based policies, this is the resource ARN.

  • For organization control policies (SCPs and RCPs), this is the AWS Organizations ARN of the account, organizational unit, or root.


Queryable Attributes

arn

The ARN of the entity that the policy is attached to. The ARN format depends on the policy type:

  • For identity, session, and permissions boundary policies, this is the principal ARN (for example, an IAM role or user ARN).

  • For resource-based policies, this is the resource ARN.

  • For organization control policies (SCPs and RCPs), this is the AWS Organizations ARN of the account, organizational unit, or root.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ATTACHEDTOLIST

TYPES TT_ATTACHEDTOLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_IABATTACHEDTO WITH DEFAULT KEY
.