Interface ComputeRegionBackendServiceCdnPolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeRegionBackendServiceCdnPolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.694Z") @Stability(Stable) public interface ComputeRegionBackendServiceCdnPolicy extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeRegionBackendServiceCdnPolicy.BuilderA builder forComputeRegionBackendServiceCdnPolicystatic classComputeRegionBackendServiceCdnPolicy.Jsii$ProxyAn implementation forComputeRegionBackendServiceCdnPolicy
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeRegionBackendServiceCdnPolicy.Builderbuilder()default ComputeRegionBackendServiceCdnPolicyCacheKeyPolicygetCacheKeyPolicy()cache_key_policy block.default StringgetCacheMode()Specifies the cache setting for all responses from this backend.default NumbergetClientTtl()Specifies the maximum allowed TTL for cached content served by this origin.default NumbergetDefaultTtl()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).default NumbergetMaxTtl()Specifies the maximum allowed TTL for cached content served by this origin.default ObjectgetNegativeCaching()Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.default ObjectgetNegativeCachingPolicy()negative_caching_policy block.default NumbergetServeWhileStale()Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache.default NumbergetSignedUrlCacheMaxAgeSec()Maximum number of seconds the response to a signed URL request will be considered fresh, defaults to 1hr (3600s).
-
-
-
Method Detail
-
getCacheKeyPolicy
@Stability(Stable) @Nullable default ComputeRegionBackendServiceCdnPolicyCacheKeyPolicy getCacheKeyPolicy()
cache_key_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#cache_key_policy ComputeRegionBackendService#cache_key_policy}
-
getCacheMode
@Stability(Stable) @Nullable default String getCacheMode()
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: ["USE_ORIGIN_HEADERS", "FORCE_CACHE_ALL", "CACHE_ALL_STATIC"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#cache_mode ComputeRegionBackendService#cache_mode}
-
getClientTtl
@Stability(Stable) @Nullable default Number getClientTtl()
Specifies the maximum allowed TTL for cached content served by this origin.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#client_ttl ComputeRegionBackendService#client_ttl}
-
getDefaultTtl
@Stability(Stable) @Nullable default Number getDefaultTtl()
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).Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#default_ttl ComputeRegionBackendService#default_ttl}
-
getMaxTtl
@Stability(Stable) @Nullable default Number getMaxTtl()
Specifies the maximum allowed TTL for cached content served by this origin.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_ttl ComputeRegionBackendService#max_ttl}
-
getNegativeCaching
@Stability(Stable) @Nullable default Object getNegativeCaching()
Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#negative_caching ComputeRegionBackendService#negative_caching}
-
getNegativeCachingPolicy
@Stability(Stable) @Nullable default Object getNegativeCachingPolicy()
negative_caching_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#negative_caching_policy ComputeRegionBackendService#negative_caching_policy}
-
getServeWhileStale
@Stability(Stable) @Nullable default Number getServeWhileStale()
Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#serve_while_stale ComputeRegionBackendService#serve_while_stale}
-
getSignedUrlCacheMaxAgeSec
@Stability(Stable) @Nullable default Number getSignedUrlCacheMaxAgeSec()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#signed_url_cache_max_age_sec ComputeRegionBackendService#signed_url_cache_max_age_sec}
-
builder
@Stability(Stable) static ComputeRegionBackendServiceCdnPolicy.Builder builder()
-
-