Skip to content

Get Resource Policy

billing_get_resource_policy R Documentation

Returns the resource-based policy document attached to the resource in JSON format

Description

Returns the resource-based policy document attached to the resource in JSON format.

Usage

billing_get_resource_policy(resourceArn)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.

Value

A list with the following syntax:

list(
  resourceArn = "string",
  policy = "string"
)

Request syntax

svc$get_resource_policy(
  resourceArn = "string"
)