AwsCloudfrontOrderedCacheBehaviorArgs
AwsCloudfrontOrderedCacheBehaviorArgs = Omit<aws.types.input.cloudfront.DistributionOrderedCacheBehavior, '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 ordered cache behaviour with compression enabled by default.
Example
CODE
`const behaviour: AwsCloudfrontOrderedCacheBehaviorArgs = { pathPattern: '/api/*', targetOriginId: 'application' };`