Class MultitenantDistributionDefaultCacheBehavior


  • public final class MultitenantDistributionDefaultCacheBehavior
    extends java.lang.Object
    • Method Detail

      • cachePolicyId

        public java.util.Optional<java.lang.String> cachePolicyId()
        Returns:
        Unique identifier of the cache policy that is attached to the cache behavior.
      • compress

        public java.util.Optional<java.lang.Boolean> compress()
        Returns:
        Whether you want CloudFront to automatically compress content for web requests that include `Accept-Encoding: gzip` in the request header. Default: `false`.
      • fieldLevelEncryptionId

        public java.util.Optional<java.lang.String> fieldLevelEncryptionId()
        Returns:
        Field level encryption configuration ID.
      • originRequestPolicyId

        public java.util.Optional<java.lang.String> originRequestPolicyId()
        Returns:
        Unique identifier of the origin request policy that is attached to the behavior.
      • realtimeLogConfigArn

        public java.util.Optional<java.lang.String> realtimeLogConfigArn()
        Returns:
        ARN of the real-time log configuration that is attached to this cache behavior.
      • responseHeadersPolicyId

        public java.util.Optional<java.lang.String> responseHeadersPolicyId()
        Returns:
        Identifier for a response headers policy.
      • targetOriginId

        public java.lang.String targetOriginId()
        Returns:
        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.
      • viewerProtocolPolicy

        public java.lang.String viewerProtocolPolicy()
        Returns:
        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`.