AwsCloudfrontCacheBehaviorArgs
AwsCloudfrontCacheBehaviorArgs = Omit<aws.types.input.cloudfront.DistributionDefaultCacheBehavior, 'allowedMethods' | 'cachePolicyId' | 'cachedMethods' | 'compress' | 'functionAssociations' | 'forwardedValues' | 'lambdaFunctionAssociations' | 'originRequestPolicyId' | 'responseHeadersPolicyId' | 'targetOriginId' | 'viewerProtocolPolicy'> & AwsCloudfrontCacheBehaviorPolicyReferences & { allowedMethods?: pulumi.Input<pulumi.Input<string>[]>; cachedMethods?: pulumi.Input<pulumi.Input<string>[]>; compress?: pulumi.Input<boolean>; functionAssociations?: AwsCloudfrontFunctionAssociationArgs[]; lambdaFunctionAssociations?: AwsCloudfrontLambdaEdgeAssociationArgs[]; targetOriginId: string; viewerProtocolPolicy?: 'redirect-to-https' | 'https-only' }HTTPS cache behaviour with compression enabled by default.
Example
CODE
`const behaviour: AwsCloudfrontCacheBehaviorArgs = { targetOriginId: 'application' };`