interface CachePolicyReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.CachePolicyReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CachePolicyReference |
![]() | software.amazon.awscdk.services.cloudfront.CachePolicyReference |
![]() | aws_cdk.aws_cloudfront.CachePolicyReference |
![]() | 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.