Skip to content

Get Resource Policy

glue_get_resource_policy R Documentation

Retrieves a specified resource policy

Description

Retrieves a specified resource policy.

Usage

glue_get_resource_policy(ResourceArn)

Arguments

ResourceArn

The ARN of the Glue resource for which to retrieve the resource policy. If not supplied, the Data Catalog resource policy is returned. Use get_resource_policies to view all existing resource policies. For more information see Specifying Glue Resource ARNs.

Value

A list with the following syntax:

list(
  PolicyInJson = "string",
  PolicyHash = "string",
  CreateTime = as.POSIXct(
    "2015-01-01"
  ),
  UpdateTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_resource_policy(
  ResourceArn = "string"
)