Class ComputeBackendBucketCdnPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_backend_bucket.ComputeBackendBucketCdnPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeBackendBucketCdnPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeBackendBucketCdnPolicy
@Stability(Stable) @Internal public static final class ComputeBackendBucketCdnPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeBackendBucketCdnPolicy
An implementation forComputeBackendBucketCdnPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_backend_bucket.ComputeBackendBucketCdnPolicy
ComputeBackendBucketCdnPolicy.Builder, ComputeBackendBucketCdnPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeBackendBucketCdnPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeBackendBucketCdnPolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetBypassCacheOnRequestHeaders()bypass_cache_on_request_headers block.ComputeBackendBucketCdnPolicyCacheKeyPolicygetCacheKeyPolicy()cache_key_policy block.StringgetCacheMode()Specifies the cache setting for all responses from this backend.NumbergetClientTtl()Specifies the maximum allowed TTL for cached content served by this origin.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).NumbergetMaxTtl()Specifies the maximum allowed TTL for cached content served by this origin.ObjectgetNegativeCaching()Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.ObjectgetNegativeCachingPolicy()negative_caching_policy block.ObjectgetRequestCoalescing()If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.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.NumbergetSignedUrlCacheMaxAgeSec()Maximum number of seconds the response to a signed URL request will be considered fresh.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeBackendBucketCdnPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeBackendBucketCdnPolicy.Builder.
-
-
Method Detail
-
getBypassCacheOnRequestHeaders
public final Object getBypassCacheOnRequestHeaders()
Description copied from interface:ComputeBackendBucketCdnPolicybypass_cache_on_request_headers block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#bypass_cache_on_request_headers ComputeBackendBucket#bypass_cache_on_request_headers}
- Specified by:
getBypassCacheOnRequestHeadersin interfaceComputeBackendBucketCdnPolicy
-
getCacheKeyPolicy
public final ComputeBackendBucketCdnPolicyCacheKeyPolicy getCacheKeyPolicy()
Description copied from interface:ComputeBackendBucketCdnPolicycache_key_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#cache_key_policy ComputeBackendBucket#cache_key_policy}
- Specified by:
getCacheKeyPolicyin interfaceComputeBackendBucketCdnPolicy
-
getCacheMode
public final String getCacheMode()
Description copied from interface:ComputeBackendBucketCdnPolicySpecifies 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_backend_bucket#cache_mode ComputeBackendBucket#cache_mode}
- Specified by:
getCacheModein interfaceComputeBackendBucketCdnPolicy
-
getClientTtl
public final Number getClientTtl()
Description copied from interface:ComputeBackendBucketCdnPolicySpecifies 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_backend_bucket#client_ttl ComputeBackendBucket#client_ttl}
- Specified by:
getClientTtlin interfaceComputeBackendBucketCdnPolicy
-
getDefaultTtl
public final Number getDefaultTtl()
Description copied from interface:ComputeBackendBucketCdnPolicySpecifies 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_backend_bucket#default_ttl ComputeBackendBucket#default_ttl}
- Specified by:
getDefaultTtlin interfaceComputeBackendBucketCdnPolicy
-
getMaxTtl
public final Number getMaxTtl()
Description copied from interface:ComputeBackendBucketCdnPolicySpecifies 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_backend_bucket#max_ttl ComputeBackendBucket#max_ttl}
- Specified by:
getMaxTtlin interfaceComputeBackendBucketCdnPolicy
-
getNegativeCaching
public final Object getNegativeCaching()
Description copied from interface:ComputeBackendBucketCdnPolicyNegative 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_backend_bucket#negative_caching ComputeBackendBucket#negative_caching}
- Specified by:
getNegativeCachingin interfaceComputeBackendBucketCdnPolicy
-
getNegativeCachingPolicy
public final Object getNegativeCachingPolicy()
Description copied from interface:ComputeBackendBucketCdnPolicynegative_caching_policy block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#negative_caching_policy ComputeBackendBucket#negative_caching_policy}
- Specified by:
getNegativeCachingPolicyin interfaceComputeBackendBucketCdnPolicy
-
getRequestCoalescing
public final Object getRequestCoalescing()
Description copied from interface:ComputeBackendBucketCdnPolicyIf true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_bucket#request_coalescing ComputeBackendBucket#request_coalescing}
- Specified by:
getRequestCoalescingin interfaceComputeBackendBucketCdnPolicy
-
getServeWhileStale
public final Number getServeWhileStale()
Description copied from interface:ComputeBackendBucketCdnPolicyServe 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_backend_bucket#serve_while_stale ComputeBackendBucket#serve_while_stale}
- Specified by:
getServeWhileStalein interfaceComputeBackendBucketCdnPolicy
-
getSignedUrlCacheMaxAgeSec
public final Number getSignedUrlCacheMaxAgeSec()
Description copied from interface:ComputeBackendBucketCdnPolicyMaximum number of seconds the response to a signed URL request will be considered fresh.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_backend_bucket#signed_url_cache_max_age_sec ComputeBackendBucket#signed_url_cache_max_age_sec}
- Specified by:
getSignedUrlCacheMaxAgeSecin interfaceComputeBackendBucketCdnPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-