Put Resource Policy
| opensearchingestion_put_resource_policy | R Documentation |
Attaches a resource-based policy to an OpenSearch Ingestion resource¶
Description¶
Attaches a resource-based policy to an OpenSearch Ingestion resource. Resource-based policies grant permissions to principals to perform actions on the resource.
Usage¶
opensearchingestion_put_resource_policy(ResourceArn, Policy)
Arguments¶
ResourceArn |
[required] The Amazon Resource Name (ARN) of the resource to attach the policy to. |
Policy |
[required] The resource-based policy document in JSON format. |
Value¶
A list with the following syntax:
list(
ResourceArn = "string",
Policy = "string"
)
Request syntax¶
svc$put_resource_policy(
ResourceArn = "string",
Policy = "string"
)