Skip to contents

Attaches a resource-based policy to an OpenSearch Ingestion resource. Resource-based policies grant permissions to principals to perform actions on the resource.

See https://www.paws-r-sdk.com/docs/opensearchingestion_put_resource_policy/ for full documentation.

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.