Skip to content

Get Resource Policy

opensearchingestion_get_resource_policy R Documentation

Retrieves the resource-based policy attached to an OpenSearch Ingestion resource

Description

Retrieves the resource-based policy attached to an OpenSearch Ingestion resource.

Usage

opensearchingestion_get_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource for which to retrieve the policy.

Value

A list with the following syntax:

list(
  ResourceArn = "string",
  Policy = "string"
)

Request syntax

svc$get_resource_policy(
  ResourceArn = "string"
)