Skip to content

/AWS1/CL_FNTGETRESPOLICYRESULT

GetResourcePolicyResult

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_resourcearn TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.

iv_policydocument TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The resource policy in JSON format.


Queryable Attributes

ResourceArn

The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.

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

PolicyDocument

The resource policy in JSON format.

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