/AWS1/CL_MHR=>PUTRESOURCEPOLICY()
¶
About PutResourcePolicy¶
Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy
must contain the same actions and condition statements as the
arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment
permission in Resource Access Manager. The policy must not contain new lines or blank lines.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_RESOURCEARN
TYPE /AWS1/MHRRESOURCEARN
/AWS1/MHRRESOURCEARN
¶
The Amazon Resource Name (ARN) of the resource to which the policy is being attached.
IV_POLICY
TYPE /AWS1/MHRPOLICYSTRING
/AWS1/MHRPOLICYSTRING
¶
A JSON-formatted string for an Amazon Web Services resource-based policy.