Package com.pulumi.gcp.compute.inputs
Class RegionBackendServiceCdnPolicyArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.inputs.RegionBackendServiceCdnPolicyArgs
-
public final class RegionBackendServiceCdnPolicyArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegionBackendServiceCdnPolicyArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static RegionBackendServiceCdnPolicyArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegionBackendServiceCdnPolicyArgs.Builder
builder()
static RegionBackendServiceCdnPolicyArgs.Builder
builder(RegionBackendServiceCdnPolicyArgs defaults)
java.util.Optional<com.pulumi.core.Output<RegionBackendServiceCdnPolicyCacheKeyPolicyArgs>>
cacheKeyPolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
cacheMode()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
clientTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
defaultTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxTtl()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
negativeCaching()
java.util.Optional<com.pulumi.core.Output<java.util.List<RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs>>>
negativeCachingPolicies()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
serveWhileStale()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
signedUrlCacheMaxAgeSec()
-
-
-
Field Detail
-
Empty
public static final RegionBackendServiceCdnPolicyArgs Empty
-
-
Method Detail
-
cacheKeyPolicy
public java.util.Optional<com.pulumi.core.Output<RegionBackendServiceCdnPolicyCacheKeyPolicyArgs>> cacheKeyPolicy()
- Returns:
- The CacheKeyPolicy for this CdnPolicy. Structure is documented below.
-
cacheMode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cacheMode()
- Returns:
- Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS, FORCE_CACHE_ALL and CACHE_ALL_STATIC Possible values are: `USE_ORIGIN_HEADERS`, `FORCE_CACHE_ALL`, `CACHE_ALL_STATIC`.
-
clientTtl
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> clientTtl()
- Returns:
- Specifies the maximum allowed TTL for cached content served by this origin.
-
defaultTtl
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> defaultTtl()
- Returns:
- Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age).
-
maxTtl
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxTtl()
- Returns:
- Specifies the maximum allowed TTL for cached content served by this origin.
-
negativeCaching
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> negativeCaching()
- Returns:
- Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.
-
negativeCachingPolicies
public java.util.Optional<com.pulumi.core.Output<java.util.List<RegionBackendServiceCdnPolicyNegativeCachingPolicyArgs>>> negativeCachingPolicies()
- Returns:
- Sets a cache TTL for the specified HTTP status code. negativeCaching must be enabled to configure negativeCachingPolicy. Omitting the policy and leaving negativeCaching enabled will use Cloud CDN's default cache TTLs. Structure is documented below.
-
serveWhileStale
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> serveWhileStale()
- Returns:
- Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache.
-
signedUrlCacheMaxAgeSec
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> signedUrlCacheMaxAgeSec()
- Returns:
- Maximum number of seconds the response to a signed URL request will be considered fresh, defaults to 1hr (3600s). After this time period, the response will be revalidated before being served. When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=[TTL]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.
-
builder
public static RegionBackendServiceCdnPolicyArgs.Builder builder()
-
builder
public static RegionBackendServiceCdnPolicyArgs.Builder builder(RegionBackendServiceCdnPolicyArgs defaults)
-
-