OriginRequestPolicyReference

class aws_cdk.aws_cloudfront.OriginRequestPolicyReference(*, origin_request_policy_id)

Bases: object

A reference to a OriginRequestPolicy resource.

Parameters:

origin_request_policy_id (str) – The Id of the OriginRequestPolicy resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

origin_request_policy_reference = cloudfront.OriginRequestPolicyReference(
    origin_request_policy_id="originRequestPolicyId"
)

Attributes

origin_request_policy_id

The Id of the OriginRequestPolicy resource.