Skip to content

PutResourcePolicyRequest

Source code in docs_src/capo_cloudfront/types/put_resource_policy_request.py
class PutResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_cloudfront.types.string.string"
    """<p>The Amazon Resource Name (ARN) of the CloudFront resource for which the policy is being created.</p>"""
    policy_document: "capo_cloudfront.types.string.string"
    """<p>The JSON-formatted resource policy to create.</p>"""

policy_document instance-attribute

policy_document: string

The JSON-formatted resource policy to create.

resource_arn instance-attribute

resource_arn: string

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