Skip to content

/AWS1/CL_AMPDESCRRESPOLICYRSP

DescribeResourcePolicyResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_policydocument TYPE /AWS1/AMPSTRING /AWS1/AMPSTRING

The JSON policy document for the resource-based policy attached to the workspace.

iv_policystatus TYPE /AWS1/AMPWORKSPACEPLYSTATCODE /AWS1/AMPWORKSPACEPLYSTATCODE

The current status of the resource-based policy.

iv_revisionid TYPE /AWS1/AMPSTRING /AWS1/AMPSTRING

The revision ID of the current resource-based policy.


Queryable Attributes

policyDocument

The JSON policy document for the resource-based policy attached to the workspace.

Accessible with the following methods

Method Description
GET_POLICYDOCUMENT() Getter for POLICYDOCUMENT, with configurable default
ASK_POLICYDOCUMENT() Getter for POLICYDOCUMENT w/ exceptions if field has no valu
HAS_POLICYDOCUMENT() Determine if POLICYDOCUMENT has a value

policyStatus

The current status of the resource-based policy.

Accessible with the following methods

Method Description
GET_POLICYSTATUS() Getter for POLICYSTATUS, with configurable default
ASK_POLICYSTATUS() Getter for POLICYSTATUS w/ exceptions if field has no value
HAS_POLICYSTATUS() Determine if POLICYSTATUS has a value

revisionId

The revision ID of the current resource-based policy.

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