/AWS1/CL_MPC=>PUTRESOURCEPOLICY()
¶
About PutResourcePolicy¶
Attaches a resource-based policy to an entity. Examples of an entity include:
AmiProduct
and ContainerProduct
.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_RESOURCEARN
TYPE /AWS1/MPCRESOURCEARN
/AWS1/MPCRESOURCEARN
¶
The Amazon Resource Name (ARN) of the entity resource you want to associate with a resource policy.
IV_POLICY
TYPE /AWS1/MPCRESOURCEPOLICYJSON
/AWS1/MPCRESOURCEPOLICYJSON
¶
The policy document to set; formatted in JSON.