interface OriginRequestPolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.OriginRequestPolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#OriginRequestPolicyReference |
Java | software.amazon.awscdk.services.cloudfront.OriginRequestPolicyReference |
Python | aws_cdk.aws_cloudfront.OriginRequestPolicyReference |
TypeScript | aws-cdk-lib » aws_cloudfront » OriginRequestPolicyReference |
A reference to a OriginRequestPolicy resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const originRequestPolicyReference: cloudfront.OriginRequestPolicyReference = {
originRequestPolicyId: 'originRequestPolicyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| origin | string | The Id of the OriginRequestPolicy resource. |
originRequestPolicyId
Type:
string
The Id of the OriginRequestPolicy resource.

.NET
Go
Java
Python
TypeScript