Skip to content

/AWS1/CL_RAMPRINCIPAL

Describes a principal for use with Resource Access Manager.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_ID TYPE /AWS1/RAMSTRING /AWS1/RAMSTRING

The ID of the principal that can be associated with a resource share.

IV_RESOURCESHAREARN TYPE /AWS1/RAMSTRING /AWS1/RAMSTRING

The Amazon Resource Name (ARN) of a resource share the principal is associated with.

IV_CREATIONTIME TYPE /AWS1/RAMDATETIME /AWS1/RAMDATETIME

The date and time when the principal was associated with the resource share.

IV_LASTUPDATEDTIME TYPE /AWS1/RAMDATETIME /AWS1/RAMDATETIME

The date and time when the association between the resource share and the principal was last updated.

IV_EXTERNAL TYPE /AWS1/RAMBOOLEAN /AWS1/RAMBOOLEAN

Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:

  • True – The two accounts belong to same organization.

  • False – The two accounts do not belong to the same organization.


Queryable Attributes

id

The ID of the principal that can be associated with a resource share.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

resourceShareArn

The Amazon Resource Name (ARN) of a resource share the principal is associated with.

Accessible with the following methods

Method Description
GET_RESOURCESHAREARN() Getter for RESOURCESHAREARN, with configurable default
ASK_RESOURCESHAREARN() Getter for RESOURCESHAREARN w/ exceptions if field has no va
HAS_RESOURCESHAREARN() Determine if RESOURCESHAREARN has a value

creationTime

The date and time when the principal was associated with the resource share.

Accessible with the following methods

Method Description
GET_CREATIONTIME() Getter for CREATIONTIME, with configurable default
ASK_CREATIONTIME() Getter for CREATIONTIME w/ exceptions if field has no value
HAS_CREATIONTIME() Determine if CREATIONTIME has a value

lastUpdatedTime

The date and time when the association between the resource share and the principal was last updated.

Accessible with the following methods

Method Description
GET_LASTUPDATEDTIME() Getter for LASTUPDATEDTIME, with configurable default
ASK_LASTUPDATEDTIME() Getter for LASTUPDATEDTIME w/ exceptions if field has no val
HAS_LASTUPDATEDTIME() Determine if LASTUPDATEDTIME has a value

external

Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:

  • True – The two accounts belong to same organization.

  • False – The two accounts do not belong to the same organization.

Accessible with the following methods

Method Description
GET_EXTERNAL() Getter for EXTERNAL, with configurable default
ASK_EXTERNAL() Getter for EXTERNAL w/ exceptions if field has no value
HAS_EXTERNAL() Determine if EXTERNAL 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_PRINCIPALLIST

TYPES TT_PRINCIPALLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_RAMPRINCIPAL WITH DEFAULT KEY
.