Skip to content

Get Resource Policy

redshift_get_resource_policy R Documentation

Get the resource policy for a specified resource

Description

Get the resource policy for a specified resource.

Usage

redshift_get_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the resource of which its resource policy is fetched.

Value

A list with the following syntax:

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

Request syntax

svc$get_resource_policy(
  ResourceArn = "string"
)