interface CachePolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.CachePolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CachePolicyReference |
Java | software.amazon.awscdk.services.cloudfront.CachePolicyReference |
Python | aws_cdk.aws_cloudfront.CachePolicyReference |
TypeScript | aws-cdk-lib » aws_cloudfront » CachePolicyReference |
A reference to a CachePolicy 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 cachePolicyReference: cloudfront.CachePolicyReference = {
cachePolicyId: 'cachePolicyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| cache | string | The Id of the CachePolicy resource. |
cachePolicyId
Type:
string
The Id of the CachePolicy resource.

.NET
Go
Java
Python
TypeScript