Put Resource Policy
glue_put_resource_policy | R Documentation |
Sets the Data Catalog resource policy for access control¶
Description¶
Sets the Data Catalog resource policy for access control.
Usage¶
glue_put_resource_policy(PolicyInJson, ResourceArn, PolicyHashCondition,
PolicyExistsCondition, EnableHybrid)
Arguments¶
PolicyInJson |
[required] Contains the policy document to set, in JSON format. |
ResourceArn |
Do not use. For internal use only. |
PolicyHashCondition |
The hash value returned when the previous policy was set using
|
PolicyExistsCondition |
A value of |
EnableHybrid |
If
Must be set to |
Value¶
A list with the following syntax:
list(
PolicyHash = "string"
)
Request syntax¶
svc$put_resource_policy(
PolicyInJson = "string",
ResourceArn = "string",
PolicyHashCondition = "string",
PolicyExistsCondition = "MUST_EXIST"|"NOT_EXIST"|"NONE",
EnableHybrid = "TRUE"|"FALSE"
)