Skip to contents

Creates a resource control policy for a given CloudFront resource.

See https://www.paws-r-sdk.com/docs/cloudfront_put_resource_policy/ for full documentation.

Usage

cloudfront_put_resource_policy(ResourceArn, PolicyDocument)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the CloudFront resource for which the policy is being created.

PolicyDocument

[required] The JSON-formatted resource policy to create.