MultitenantDistributionDefaultCacheBehavior constructor
- required Input<
MultitenantDistributionDefaultCacheBehaviorAllowedMethods> allowedMethods, - Input<
String?> ? cachePolicyId, - Input<
bool?> ? compress, - Input<
String?> ? fieldLevelEncryptionId, - Input<
List< ? functionAssociations,MultitenantDistributionDefaultCacheBehaviorFunctionAssociation> ?> - Input<
List< ? lambdaFunctionAssociations,MultitenantDistributionDefaultCacheBehaviorLambdaFunctionAssociation> ?> - Input<
String?> ? originRequestPolicyId, - Input<
String?> ? realtimeLogConfigArn, - Input<
String?> ? responseHeadersPolicyId, - required Input<
String> targetOriginId, - Input<
MultitenantDistributionDefaultCacheBehaviorTrustedKeyGroups?> ? trustedKeyGroups, - required Input<
String> viewerProtocolPolicy,
Creates a new MultitenantDistributionDefaultCacheBehavior.
allowedMethods Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
cachePolicyId Unique identifier of the cache policy that is attached to the cache behavior.
compress Whether you want CloudFront to automatically compress content for web requests that include Accept-Encoding: gzip in the request header. Default: false.
fieldLevelEncryptionId Field level encryption configuration ID.
functionAssociations Configuration block for CloudFront Functions associations. See Function Association below.
lambdaFunctionAssociations Configuration block for Lambda@Edge associations. See Lambda Function Association below.
originRequestPolicyId Unique identifier of the origin request policy that is attached to the behavior.
realtimeLogConfigArn ARN of the real-time log configuration that is attached to this cache behavior.
responseHeadersPolicyId Identifier for a response headers policy.
targetOriginId Value of ID for the origin that you want CloudFront to route requests to when a request matches the path pattern either for a cache behavior or for the default cache behavior.
trustedKeyGroups List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
viewerProtocolPolicy Use this element to specify the protocol that users can use to access the files in the origin specified by TargetOriginId when a request matches the path pattern in PathPattern. One of allow-all, https-only, or redirect-to-https.
Implementation
const MultitenantDistributionDefaultCacheBehavior({
required this.allowedMethods,
this.cachePolicyId,
this.compress,
this.fieldLevelEncryptionId,
this.functionAssociations,
this.lambdaFunctionAssociations,
this.originRequestPolicyId,
this.realtimeLogConfigArn,
this.responseHeadersPolicyId,
required this.targetOriginId,
this.trustedKeyGroups,
required this.viewerProtocolPolicy,
});