/AWS1/CL_VL=>PUTRESOURCEPOLICY()
¶
About PutResourcePolicy¶
Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_RESOURCEARN
TYPE /AWS1/VL_RESOURCEARN
/AWS1/VL_RESOURCEARN
¶
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
IV_POLICY
TYPE /AWS1/VL_POLICYSTRING
/AWS1/VL_POLICYSTRING
¶
An IAM policy. The policy string in JSON must not contain newlines or blank lines.