Skip to content

/AWS1/CL_PCYPUTRESPOLICYOUTPUT

PutResourcePolicyOutput

CONSTRUCTOR

IMPORTING

Required arguments:

iv_resourcearn TYPE /AWS1/PCYRESOURCEARN /AWS1/PCYRESOURCEARN

The KeyARN of the key that the resource-based policy was attached to.

iv_policy TYPE /AWS1/PCYRESOURCEPOLICY /AWS1/PCYRESOURCEPOLICY

The resource-based policy that was attached to the key.


Queryable Attributes

ResourceArn

The KeyARN of the key that the resource-based policy was attached to.

Accessible with the following methods

Method Description
GET_RESOURCEARN() Getter for RESOURCEARN, with configurable default
ASK_RESOURCEARN() Getter for RESOURCEARN w/ exceptions if field has no value
HAS_RESOURCEARN() Determine if RESOURCEARN has a value

Policy

The resource-based policy that was attached to the key.

Accessible with the following methods

Method Description
GET_POLICY() Getter for POLICY, with configurable default
ASK_POLICY() Getter for POLICY w/ exceptions if field has no value
HAS_POLICY() Determine if POLICY has a value