Skip to content

/AWS1/CL_LKFPRINCRESOURCEPERMS

The permissions granted or revoked on a resource.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_principal TYPE REF TO /AWS1/CL_LKFDATALAKEPRINCIPAL /AWS1/CL_LKFDATALAKEPRINCIPAL

The Data Lake principal to be granted or revoked permissions.

io_resource TYPE REF TO /AWS1/CL_LKFRESOURCE /AWS1/CL_LKFRESOURCE

The resource where permissions are to be granted or revoked.

io_condition TYPE REF TO /AWS1/CL_LKFCONDITION /AWS1/CL_LKFCONDITION

A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.

it_permissions TYPE /AWS1/CL_LKFPERMISSIONLIST_W=>TT_PERMISSIONLIST TT_PERMISSIONLIST

The permissions to be granted or revoked on the resource.

it_permswithgrantoption TYPE /AWS1/CL_LKFPERMISSIONLIST_W=>TT_PERMISSIONLIST TT_PERMISSIONLIST

Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).

io_additionaldetails TYPE REF TO /AWS1/CL_LKFDETAILSMAP /AWS1/CL_LKFDETAILSMAP

This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.

iv_lastupdated TYPE /AWS1/LKFLASTMODIFIEDTIMESTAMP /AWS1/LKFLASTMODIFIEDTIMESTAMP

The date and time when the resource was last updated.

iv_lastupdatedby TYPE /AWS1/LKFNAMESTRING /AWS1/LKFNAMESTRING

The user who updated the record.


Queryable Attributes

Principal

The Data Lake principal to be granted or revoked permissions.

Accessible with the following methods

Method Description
GET_PRINCIPAL() Getter for PRINCIPAL

Resource

The resource where permissions are to be granted or revoked.

Accessible with the following methods

Method Description
GET_RESOURCE() Getter for RESOURCE

Condition

A Lake Formation condition, which applies to permissions and opt-ins that contain an expression.

Accessible with the following methods

Method Description
GET_CONDITION() Getter for CONDITION

Permissions

The permissions to be granted or revoked on the resource.

Accessible with the following methods

Method Description
GET_PERMISSIONS() Getter for PERMISSIONS, with configurable default
ASK_PERMISSIONS() Getter for PERMISSIONS w/ exceptions if field has no value
HAS_PERMISSIONS() Determine if PERMISSIONS has a value

PermissionsWithGrantOption

Indicates whether to grant the ability to grant permissions (as a subset of permissions granted).

Accessible with the following methods

Method Description
GET_PERMSWITHGRANTOPTION() Getter for PERMISSIONSWITHGRANTOPTION, with configurable def
ASK_PERMSWITHGRANTOPTION() Getter for PERMISSIONSWITHGRANTOPTION w/ exceptions if field
HAS_PERMSWITHGRANTOPTION() Determine if PERMISSIONSWITHGRANTOPTION has a value

AdditionalDetails

This attribute can be used to return any additional details of PrincipalResourcePermissions. Currently returns only as a RAM resource share ARN.

Accessible with the following methods

Method Description
GET_ADDITIONALDETAILS() Getter for ADDITIONALDETAILS

LastUpdated

The date and time when the resource was last updated.

Accessible with the following methods

Method Description
GET_LASTUPDATED() Getter for LASTUPDATED, with configurable default
ASK_LASTUPDATED() Getter for LASTUPDATED w/ exceptions if field has no value
HAS_LASTUPDATED() Determine if LASTUPDATED has a value

LastUpdatedBy

The user who updated the record.

Accessible with the following methods

Method Description
GET_LASTUPDATEDBY() Getter for LASTUPDATEDBY, with configurable default
ASK_LASTUPDATEDBY() Getter for LASTUPDATEDBY w/ exceptions if field has no value
HAS_LASTUPDATEDBY() Determine if LASTUPDATEDBY 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_PRINCIPALRESOURCEPERMSLIST

TYPES TT_PRINCIPALRESOURCEPERMSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LKFPRINCRESOURCEPERMS WITH DEFAULT KEY
.