MultitenantDistributionCacheBehavior class
Constructors
-
MultitenantDistributionCacheBehavior({required Input<
MultitenantDistributionCacheBehaviorAllowedMethods> allowedMethods, Input<String?> ? cachePolicyId, Input<bool?> ? compress, Input<String?> ? fieldLevelEncryptionId, Input<List< ? functionAssociations, Input<MultitenantDistributionCacheBehaviorFunctionAssociation> ?>List< ? lambdaFunctionAssociations, Input<MultitenantDistributionCacheBehaviorLambdaFunctionAssociation> ?>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.
allowedMethodsControls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.cachePolicyIdUnique identifier of the cache policy that is attached to the cache behavior.compressWhether you want CloudFront to automatically compress content for web requests that includeAccept-Encoding: gzipin the request header. Default:false.fieldLevelEncryptionIdField level encryption configuration ID.functionAssociationsConfiguration block for CloudFront Functions associations. See Function Association below.lambdaFunctionAssociationsConfiguration block for Lambda@Edge associations. See Lambda Function Association below.originRequestPolicyIdUnique identifier of the origin request policy that is attached to the behavior.pathPatternPattern that specifies which requests you want this cache behavior to apply to.realtimeLogConfigArnARN of the real-time log configuration that is attached to this cache behavior.responseHeadersPolicyIdIdentifier for a response headers policy.targetOriginIdValue 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.trustedKeyGroupsList of key group IDs that CloudFront can use to validate signed URLs or signed cookies.viewerProtocolPolicyUse 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 ofallow-all,https-only, orredirect-to-https.const -
MultitenantDistributionCacheBehavior.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowedMethods
→ Input<
MultitenantDistributionCacheBehaviorAllowedMethods> -
Controls which HTTP methods CloudFront processes and forwards to your Amazon S3 bucket or your custom origin.
final
-
cachePolicyId
→ Input<
String?> ? -
Unique identifier of the cache policy that is attached to the cache behavior.
final
-
compress
→ Input<
bool?> ? -
Whether you want CloudFront to automatically compress content for web requests that include
Accept-Encoding: gzipin the request header. Default:false.final -
fieldLevelEncryptionId
→ Input<
String?> ? -
Field level encryption configuration ID.
final
-
functionAssociations
→ Input<
List< ?MultitenantDistributionCacheBehaviorFunctionAssociation> ?> -
Configuration block for CloudFront Functions associations. See Function Association below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lambdaFunctionAssociations
→ Input<
List< ?MultitenantDistributionCacheBehaviorLambdaFunctionAssociation> ?> -
Configuration block for Lambda@Edge associations. See Lambda Function Association below.
final
-
originRequestPolicyId
→ Input<
String?> ? -
Unique identifier of the origin request policy that is attached to the behavior.
final
-
pathPattern
→ Input<
String> -
Pattern that specifies which requests you want this cache behavior to apply to.
final
-
realtimeLogConfigArn
→ Input<
String?> ? -
ARN of the real-time log configuration that is attached to this cache behavior.
final
-
responseHeadersPolicyId
→ Input<
String?> ? -
Identifier for a response headers policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targetOriginId
→ Input<
String> -
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.
final
-
trustedKeyGroups
→ Input<
MultitenantDistributionCacheBehaviorTrustedKeyGroups?> ? -
List of key group IDs that CloudFront can use to validate signed URLs or signed cookies.
final
-
viewerProtocolPolicy
→ Input<
String> -
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, orredirect-to-https.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited