Skip to content

Get Resource Policy

vpclattice_get_resource_policy R Documentation

Retrieves information about the resource policy

Description

Retrieves information about the resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.

Usage

vpclattice_get_resource_policy(resourceArn)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the service network or service.

Value

A list with the following syntax:

list(
  policy = "string"
)

Request syntax

svc$get_resource_policy(
  resourceArn = "string"
)