EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyCacheKeyPolicyArgs

data class EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyCacheKeyPolicyArgs(val excludeHost: Output<Boolean>? = null, val excludeQueryString: Output<Boolean>? = null, val excludedQueryParameters: Output<List<String>>? = null, val includeProtocol: Output<Boolean>? = null, val includedCookieNames: Output<List<String>>? = null, val includedHeaderNames: Output<List<String>>? = null, val includedQueryParameters: Output<List<String>>? = null) : ConvertibleToJava<EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyCacheKeyPolicyArgs>

Constructors

constructor(excludeHost: Output<Boolean>? = null, excludeQueryString: Output<Boolean>? = null, excludedQueryParameters: Output<List<String>>? = null, includeProtocol: Output<Boolean>? = null, includedCookieNames: Output<List<String>>? = null, includedHeaderNames: Output<List<String>>? = null, includedQueryParameters: Output<List<String>>? = null)

Properties

Link copied to clipboard
val excludedQueryParameters: Output<List<String>>? = null

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.

Link copied to clipboard
val excludeHost: Output<Boolean>? = null

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.

Link copied to clipboard
val excludeQueryString: Output<Boolean>? = null

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.

Link copied to clipboard
val includedCookieNames: Output<List<String>>? = null

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:

Link copied to clipboard
val includedHeaderNames: Output<List<String>>? = null

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.

Link copied to clipboard
val includedQueryParameters: Output<List<String>>? = null

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.

Link copied to clipboard
val includeProtocol: Output<Boolean>? = null

If true, http and https requests will be cached separately.

Functions

Link copied to clipboard
open override fun toJava(): EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionCdnPolicyCacheKeyPolicyArgs