Skip to content

Get Resource Policy

cloudfront_get_resource_policy R Documentation

Retrieves the resource policy for the specified CloudFront resource that you own and have shared

Description

Retrieves the resource policy for the specified CloudFront resource that you own and have shared.

Usage

cloudfront_get_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the CloudFront resource that is associated with the resource policy.

Value

A list with the following syntax:

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

Request syntax

svc$get_resource_policy(
  ResourceArn = "string"
)