MultitenantDistributionCacheBehavior class

Constructors

MultitenantDistributionCacheBehavior({required Input<MultitenantDistributionCacheBehaviorAllowedMethods> allowedMethods, Input<String?>? cachePolicyId, Input<bool?>? compress, Input<String?>? fieldLevelEncryptionId, Input<List<MultitenantDistributionCacheBehaviorFunctionAssociation>?>? functionAssociations, Input<List<MultitenantDistributionCacheBehaviorLambdaFunctionAssociation>?>? lambdaFunctionAssociations, 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.
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: gzip in 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, or redirect-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