interface CachePolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.CloudFront.CachePolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awscloudfront#CachePolicyReference |
Java | software.amazon.awscdk.interfaces.cloudfront.CachePolicyReference |
Python | aws_cdk.interfaces.aws_cloudfront.CachePolicyReference |
TypeScript | aws-cdk-lib » interfaces » 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 interfaces_aws_cloudfront } from 'aws-cdk-lib/interfaces';
const cachePolicyReference: interfaces_aws_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