interface CfnCachePolicyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CloudFront.CfnCachePolicyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscloudfront#CfnCachePolicyMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnCachePolicyMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_cloudfront.CfnCachePolicyMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cloudfront » CfnCachePolicyMixinProps |
Properties for CfnCachePolicyPropsMixin.
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/cfn-property-mixins';
const cfnCachePolicyMixinProps: cloudfront.CfnCachePolicyMixinProps = {
cachePolicyConfig: {
comment: 'comment',
defaultTtl: 123,
maxTtl: 123,
minTtl: 123,
name: 'name',
parametersInCacheKeyAndForwardedToOrigin: {
cookiesConfig: {
cookieBehavior: 'cookieBehavior',
cookies: ['cookies'],
},
enableAcceptEncodingBrotli: false,
enableAcceptEncodingGzip: false,
headersConfig: {
headerBehavior: 'headerBehavior',
headers: ['headers'],
},
queryStringsConfig: {
queryStringBehavior: 'queryStringBehavior',
queryStrings: ['queryStrings'],
},
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| cache | IResolvable | Cache | The cache policy configuration. |
cachePolicyConfig?
Type:
IResolvable | Cache
(optional)
The cache policy configuration.

.NET
Go
Java
Python
TypeScript