Class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyCacheKeyPolicyArgs


  • public final class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyCacheKeyPolicyArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • excludeHost

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> excludeHost()
        Returns:
        If true, requests to different hosts will be cached separately. Note: this should only be enabled if hosts share the same origin and content. Removing the host from the cache key may inadvertently result in different objects being cached than intended, depending on which route the first user matched.
      • excludeQueryString

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> excludeQueryString()
        Returns:
        If true, exclude query string parameters from the cache key If false (the default), include the query string parameters in the cache key according to includeQueryParameters and excludeQueryParameters. If neither includeQueryParameters nor excludeQueryParameters is set, the entire query string will be included.
      • excludedQueryParameters

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> excludedQueryParameters()
        Returns:
        Names of query string parameters to exclude from cache keys. All other parameters will be included. Either specify includedQueryParameters or excludedQueryParameters, not both. '&' and '=' will be percent encoded and not treated as delimiters.
      • includeProtocol

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> includeProtocol()
        Returns:
        If true, http and https requests will be cached separately.
      • includedCookieNames

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> includedCookieNames()
        Returns:
        Names of Cookies to include in cache keys. The cookie name and cookie value of each cookie named will be used as part of the cache key. Cookie names: - must be valid RFC 6265 "cookie-name" tokens - are case sensitive - cannot start with "Edge-Cache-" (case insensitive) Note that specifying several cookies, and/or cookies that have a large range of values (e.g., per-user) will dramatically impact the cache hit rate, and may result in a higher eviction rate and reduced performance. You may specify up to three cookie names.
      • includedHeaderNames

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> includedHeaderNames()
        Returns:
        Names of HTTP request headers to include in cache keys. The value of the header field will be used as part of the cache key. - Header names must be valid HTTP RFC 7230 header field values. - Header field names are case insensitive - To include the HTTP method, use ":method" Note that specifying several headers, and/or headers that have a large range of values (e.g. per-user) will dramatically impact the cache hit rate, and may result in a higher eviction rate and reduced performance.
      • includedQueryParameters

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> includedQueryParameters()
        Returns:
        Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify includedQueryParameters or excludedQueryParameters, not both. '&' and '=' will be percent encoded and not treated as delimiters.