MultitenantDistributionCacheBehavior constructor
- required Input<
MultitenantDistributionCacheBehaviorAllowedMethods> allowedMethods, - Input<
String?> ? cachePolicyId, - Input<
bool?> ? compress, - Input<
String?> ? fieldLevelEncryptionId, - Input<
List< ? functionAssociations,MultitenantDistributionCacheBehaviorFunctionAssociation> ?> - Input<
List< ? lambdaFunctionAssociations,MultitenantDistributionCacheBehaviorLambdaFunctionAssociation> ?> - Input<
String?> ? originRequestPolicyId, - required Input<
String> pathPattern, - Input<
String?> ? realtimeLogConfigArn, - Input<
String?> ? responseHeadersPolicyId, - required Input<
String> targetOriginId, - Input<
MultitenantDistributionCacheBehaviorTrustedKeyGroups?> ? trustedKeyGroups, - required Input<
String> viewerProtocolPolicy,
Creates a new MultitenantDistributionCacheBehavior.
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.
pathPattern Pattern that specifies which requests you want this cache behavior to apply to.
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 MultitenantDistributionCacheBehavior({
required this.allowedMethods,
this.cachePolicyId,
this.compress,
this.fieldLevelEncryptionId,
this.functionAssociations,
this.lambdaFunctionAssociations,
this.originRequestPolicyId,
required this.pathPattern,
this.realtimeLogConfigArn,
this.responseHeadersPolicyId,
required this.targetOriginId,
this.trustedKeyGroups,
required this.viewerProtocolPolicy,
});