Skip to content

/AWS1/CL_LM2CRERESRCPLYSTMTRSP

CreateResourcePolicyStatementResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_RESOURCEARN TYPE /AWS1/LM2AMAZONRESOURCENAME /AWS1/LM2AMAZONRESOURCENAME

The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.

IV_REVISIONID TYPE /AWS1/LM2REVISIONID /AWS1/LM2REVISIONID

The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.


Queryable Attributes

resourceArn

The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is 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

revisionId

The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.

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