Skip to content

/AWS1/CL_DYNGETRESRCPLYOUTPUT

GetResourcePolicyOutput

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_policy TYPE /AWS1/DYNRESOURCEPOLICY /AWS1/DYNRESOURCEPOLICY

The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.

iv_revisionid TYPE /AWS1/DYNPOLICYREVISIONID /AWS1/DYNPOLICYREVISIONID

A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.


Queryable Attributes

Policy

The resource-based policy document attached to the resource, which can be a table or stream, in JSON format.

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

RevisionId

A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.

Accessible with the following methods

Method Description
GET_REVISIONID() Getter for REVISIONID, with configurable default
ASK_REVISIONID() Getter for REVISIONID w/ exceptions if field has no value
HAS_REVISIONID() Determine if REVISIONID has a value