Documentation ¶
Index ¶
- func ComputeBackendBucket_IsConstruct(x interface{}) *bool
- func ComputeBackendBucket_IsTerraformElement(x interface{}) *bool
- func ComputeBackendBucket_IsTerraformResource(x interface{}) *bool
- func ComputeBackendBucket_TfResourceType() *string
- func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList_Override(c ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList, ...)
- func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override(c ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference, ...)
- func NewComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference_Override(c ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference, ...)
- func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyList_Override(c ComputeBackendBucketCdnPolicyNegativeCachingPolicyList, ...)
- func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference_Override(c ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference, ...)
- func NewComputeBackendBucketCdnPolicyOutputReference_Override(c ComputeBackendBucketCdnPolicyOutputReference, ...)
- func NewComputeBackendBucketTimeoutsOutputReference_Override(c ComputeBackendBucketTimeoutsOutputReference, ...)
- func NewComputeBackendBucket_Override(c ComputeBackendBucket, scope constructs.Construct, id *string, ...)
- type ComputeBackendBucket
- type ComputeBackendBucketCdnPolicy
- type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeaders
- type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList
- type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference
- type ComputeBackendBucketCdnPolicyCacheKeyPolicy
- type ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference
- type ComputeBackendBucketCdnPolicyNegativeCachingPolicy
- type ComputeBackendBucketCdnPolicyNegativeCachingPolicyList
- type ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference
- type ComputeBackendBucketCdnPolicyOutputReference
- type ComputeBackendBucketConfig
- type ComputeBackendBucketTimeouts
- type ComputeBackendBucketTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeBackendBucket_IsConstruct ¶
func ComputeBackendBucket_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func ComputeBackendBucket_IsTerraformElement ¶
func ComputeBackendBucket_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeBackendBucket_IsTerraformResource ¶
func ComputeBackendBucket_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeBackendBucket_TfResourceType ¶
func ComputeBackendBucket_TfResourceType() *string
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList_Override ¶
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList_Override(c ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override ¶
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference_Override(c ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference_Override ¶
func NewComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference_Override(c ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyList_Override ¶
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyList_Override(c ComputeBackendBucketCdnPolicyNegativeCachingPolicyList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference_Override ¶
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference_Override(c ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeBackendBucketCdnPolicyOutputReference_Override ¶
func NewComputeBackendBucketCdnPolicyOutputReference_Override(c ComputeBackendBucketCdnPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendBucketTimeoutsOutputReference_Override ¶
func NewComputeBackendBucketTimeoutsOutputReference_Override(c ComputeBackendBucketTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeBackendBucket_Override ¶
func NewComputeBackendBucket_Override(c ComputeBackendBucket, scope constructs.Construct, id *string, config *ComputeBackendBucketConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket google_compute_backend_bucket} Resource.
Types ¶
type ComputeBackendBucket ¶
type ComputeBackendBucket interface { cdktf.TerraformResource BucketName() *string SetBucketName(val *string) BucketNameInput() *string // Experimental. CdktfStack() cdktf.TerraformStack CdnPolicy() ComputeBackendBucketCdnPolicyOutputReference CdnPolicyInput() *ComputeBackendBucketCdnPolicy CompressionMode() *string SetCompressionMode(val *string) CompressionModeInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreationTimestamp() *string CustomResponseHeaders() *[]*string SetCustomResponseHeaders(val *[]*string) CustomResponseHeadersInput() *[]*string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string EdgeSecurityPolicy() *string SetEdgeSecurityPolicy(val *string) EdgeSecurityPolicyInput() *string EnableCdn() interface{} SetEnableCdn(val interface{}) EnableCdnInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} SelfLink() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeBackendBucketTimeoutsOutputReference TimeoutsInput() interface{} // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutCdnPolicy(value *ComputeBackendBucketCdnPolicy) PutTimeouts(value *ComputeBackendBucketTimeouts) ResetCdnPolicy() ResetCompressionMode() ResetCustomResponseHeaders() ResetDescription() ResetEdgeSecurityPolicy() ResetEnableCdn() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket google_compute_backend_bucket}.
func NewComputeBackendBucket ¶
func NewComputeBackendBucket(scope constructs.Construct, id *string, config *ComputeBackendBucketConfig) ComputeBackendBucket
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket google_compute_backend_bucket} Resource.
type ComputeBackendBucketCdnPolicy ¶
type ComputeBackendBucketCdnPolicy struct { // bypass_cache_on_request_headers block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#bypass_cache_on_request_headers ComputeBackendBucket#bypass_cache_on_request_headers} BypassCacheOnRequestHeaders interface{} `field:"optional" json:"bypassCacheOnRequestHeaders" yaml:"bypassCacheOnRequestHeaders"` // cache_key_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#cache_key_policy ComputeBackendBucket#cache_key_policy} CacheKeyPolicy *ComputeBackendBucketCdnPolicyCacheKeyPolicy `field:"optional" json:"cacheKeyPolicy" yaml:"cacheKeyPolicy"` // 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/4.69.1/docs/resources/compute_backend_bucket#cache_mode ComputeBackendBucket#cache_mode} CacheMode *string `field:"optional" json:"cacheMode" yaml:"cacheMode"` // Specifies the maximum allowed TTL for cached content served by this origin. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#client_ttl ComputeBackendBucket#client_ttl} ClientTtl *float64 `field:"optional" json:"clientTtl" yaml:"clientTtl"` // 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/4.69.1/docs/resources/compute_backend_bucket#default_ttl ComputeBackendBucket#default_ttl} DefaultTtl *float64 `field:"optional" json:"defaultTtl" yaml:"defaultTtl"` // Specifies the maximum allowed TTL for cached content served by this origin. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#max_ttl ComputeBackendBucket#max_ttl} MaxTtl *float64 `field:"optional" json:"maxTtl" yaml:"maxTtl"` // 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/4.69.1/docs/resources/compute_backend_bucket#negative_caching ComputeBackendBucket#negative_caching} NegativeCaching interface{} `field:"optional" json:"negativeCaching" yaml:"negativeCaching"` // negative_caching_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#negative_caching_policy ComputeBackendBucket#negative_caching_policy} NegativeCachingPolicy interface{} `field:"optional" json:"negativeCachingPolicy" yaml:"negativeCachingPolicy"` // If 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/4.69.1/docs/resources/compute_backend_bucket#request_coalescing ComputeBackendBucket#request_coalescing} RequestCoalescing interface{} `field:"optional" json:"requestCoalescing" yaml:"requestCoalescing"` // 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/4.69.1/docs/resources/compute_backend_bucket#serve_while_stale ComputeBackendBucket#serve_while_stale} ServeWhileStale *float64 `field:"optional" json:"serveWhileStale" yaml:"serveWhileStale"` // Maximum 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/4.69.1/docs/resources/compute_backend_bucket#signed_url_cache_max_age_sec ComputeBackendBucket#signed_url_cache_max_age_sec} SignedUrlCacheMaxAgeSec *float64 `field:"optional" json:"signedUrlCacheMaxAgeSec" yaml:"signedUrlCacheMaxAgeSec"` }
type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeaders ¶
type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeaders struct { // The header field name to match on when bypassing cache. Values are case-insensitive. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#header_name ComputeBackendBucket#header_name} HeaderName *string `field:"optional" json:"headerName" yaml:"headerName"` }
type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList ¶
type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList ¶
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList
type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference ¶
type ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string HeaderName() *string SetHeaderName(val *string) HeaderNameInput() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetHeaderName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference ¶
func NewComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference
type ComputeBackendBucketCdnPolicyCacheKeyPolicy ¶
type ComputeBackendBucketCdnPolicyCacheKeyPolicy struct { // Allows HTTP request headers (by name) to be used in the cache key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#include_http_headers ComputeBackendBucket#include_http_headers} IncludeHttpHeaders *[]*string `field:"optional" json:"includeHttpHeaders" yaml:"includeHttpHeaders"` // Names of query string parameters to include in cache keys. // // Default parameters are always included. '&' and '=' will // be percent encoded and not treated as delimiters. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#query_string_whitelist ComputeBackendBucket#query_string_whitelist} QueryStringWhitelist *[]*string `field:"optional" json:"queryStringWhitelist" yaml:"queryStringWhitelist"` }
type ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference ¶
type ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string IncludeHttpHeaders() *[]*string SetIncludeHttpHeaders(val *[]*string) IncludeHttpHeadersInput() *[]*string InternalValue() *ComputeBackendBucketCdnPolicyCacheKeyPolicy SetInternalValue(val *ComputeBackendBucketCdnPolicyCacheKeyPolicy) QueryStringWhitelist() *[]*string SetQueryStringWhitelist(val *[]*string) QueryStringWhitelistInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetIncludeHttpHeaders() ResetQueryStringWhitelist() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference ¶
func NewComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference
type ComputeBackendBucketCdnPolicyNegativeCachingPolicy ¶
type ComputeBackendBucketCdnPolicyNegativeCachingPolicy struct { // The HTTP status code to define a TTL against. // // Only HTTP status codes 300, 301, 308, 404, 405, 410, 421, 451 and 501 // can be specified as values, and you cannot specify a status code more than once. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#code ComputeBackendBucket#code} Code *float64 `field:"optional" json:"code" yaml:"code"` // The TTL (in seconds) for which to cache responses with the corresponding status code. // // The maximum allowed value is 1800s // (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#ttl ComputeBackendBucket#ttl} Ttl *float64 `field:"optional" json:"ttl" yaml:"ttl"` }
type ComputeBackendBucketCdnPolicyNegativeCachingPolicyList ¶
type ComputeBackendBucketCdnPolicyNegativeCachingPolicyList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyList ¶
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeBackendBucketCdnPolicyNegativeCachingPolicyList
type ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference ¶
type ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference interface { cdktf.ComplexObject Code() *float64 SetCode(val *float64) CodeInput() *float64 // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Ttl() *float64 SetTtl(val *float64) TtlInput() *float64 // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCode() ResetTtl() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference ¶
func NewComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference
type ComputeBackendBucketCdnPolicyOutputReference ¶
type ComputeBackendBucketCdnPolicyOutputReference interface { cdktf.ComplexObject BypassCacheOnRequestHeaders() ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList BypassCacheOnRequestHeadersInput() interface{} CacheKeyPolicy() ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference CacheKeyPolicyInput() *ComputeBackendBucketCdnPolicyCacheKeyPolicy CacheMode() *string SetCacheMode(val *string) CacheModeInput() *string ClientTtl() *float64 SetClientTtl(val *float64) ClientTtlInput() *float64 // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DefaultTtl() *float64 SetDefaultTtl(val *float64) DefaultTtlInput() *float64 // Experimental. Fqn() *string InternalValue() *ComputeBackendBucketCdnPolicy SetInternalValue(val *ComputeBackendBucketCdnPolicy) MaxTtl() *float64 SetMaxTtl(val *float64) MaxTtlInput() *float64 NegativeCaching() interface{} SetNegativeCaching(val interface{}) NegativeCachingInput() interface{} NegativeCachingPolicy() ComputeBackendBucketCdnPolicyNegativeCachingPolicyList NegativeCachingPolicyInput() interface{} RequestCoalescing() interface{} SetRequestCoalescing(val interface{}) RequestCoalescingInput() interface{} ServeWhileStale() *float64 SetServeWhileStale(val *float64) ServeWhileStaleInput() *float64 SignedUrlCacheMaxAgeSec() *float64 SetSignedUrlCacheMaxAgeSec(val *float64) SignedUrlCacheMaxAgeSecInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutBypassCacheOnRequestHeaders(value interface{}) PutCacheKeyPolicy(value *ComputeBackendBucketCdnPolicyCacheKeyPolicy) PutNegativeCachingPolicy(value interface{}) ResetBypassCacheOnRequestHeaders() ResetCacheKeyPolicy() ResetCacheMode() ResetClientTtl() ResetDefaultTtl() ResetMaxTtl() ResetNegativeCaching() ResetNegativeCachingPolicy() ResetRequestCoalescing() ResetServeWhileStale() ResetSignedUrlCacheMaxAgeSec() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendBucketCdnPolicyOutputReference ¶
func NewComputeBackendBucketCdnPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendBucketCdnPolicyOutputReference
type ComputeBackendBucketConfig ¶
type ComputeBackendBucketConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Cloud Storage bucket name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#bucket_name ComputeBackendBucket#bucket_name} BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"` // Name of the resource. // // Provided by the client when the resource is // created. The name must be 1-63 characters long, and comply with // RFC1035. Specifically, the name must be 1-63 characters long and // match the regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' which means // the first character must be a lowercase letter, and all following // characters must be a dash, lowercase letter, or digit, except the // last character, which cannot be a dash. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#name ComputeBackendBucket#name} Name *string `field:"required" json:"name" yaml:"name"` // cdn_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#cdn_policy ComputeBackendBucket#cdn_policy} CdnPolicy *ComputeBackendBucketCdnPolicy `field:"optional" json:"cdnPolicy" yaml:"cdnPolicy"` // Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. Possible values: ["AUTOMATIC", "DISABLED"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#compression_mode ComputeBackendBucket#compression_mode} CompressionMode *string `field:"optional" json:"compressionMode" yaml:"compressionMode"` // Headers that the HTTP/S load balancer should add to proxied responses. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#custom_response_headers ComputeBackendBucket#custom_response_headers} CustomResponseHeaders *[]*string `field:"optional" json:"customResponseHeaders" yaml:"customResponseHeaders"` // An optional textual description of the resource; provided by the client when the resource is created. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#description ComputeBackendBucket#description} Description *string `field:"optional" json:"description" yaml:"description"` // The security policy associated with this backend bucket. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#edge_security_policy ComputeBackendBucket#edge_security_policy} EdgeSecurityPolicy *string `field:"optional" json:"edgeSecurityPolicy" yaml:"edgeSecurityPolicy"` // If true, enable Cloud CDN for this BackendBucket. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#enable_cdn ComputeBackendBucket#enable_cdn} EnableCdn interface{} `field:"optional" json:"enableCdn" yaml:"enableCdn"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#id ComputeBackendBucket#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#project ComputeBackendBucket#project}. Project *string `field:"optional" json:"project" yaml:"project"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#timeouts ComputeBackendBucket#timeouts} Timeouts *ComputeBackendBucketTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeBackendBucketTimeouts ¶
type ComputeBackendBucketTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#create ComputeBackendBucket#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#delete ComputeBackendBucket#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.69.1/docs/resources/compute_backend_bucket#update ComputeBackendBucket#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeBackendBucketTimeoutsOutputReference ¶
type ComputeBackendBucketTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeBackendBucketTimeoutsOutputReference ¶
func NewComputeBackendBucketTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeBackendBucketTimeoutsOutputReference
Source Files ¶
- ComputeBackendBucket.go
- ComputeBackendBucketCdnPolicy.go
- ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeaders.go
- ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList.go
- ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersList__checks.go
- ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference.go
- ComputeBackendBucketCdnPolicyBypassCacheOnRequestHeadersOutputReference__checks.go
- ComputeBackendBucketCdnPolicyCacheKeyPolicy.go
- ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference.go
- ComputeBackendBucketCdnPolicyCacheKeyPolicyOutputReference__checks.go
- ComputeBackendBucketCdnPolicyNegativeCachingPolicy.go
- ComputeBackendBucketCdnPolicyNegativeCachingPolicyList.go
- ComputeBackendBucketCdnPolicyNegativeCachingPolicyList__checks.go
- ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference.go
- ComputeBackendBucketCdnPolicyNegativeCachingPolicyOutputReference__checks.go
- ComputeBackendBucketCdnPolicyOutputReference.go
- ComputeBackendBucketCdnPolicyOutputReference__checks.go
- ComputeBackendBucketConfig.go
- ComputeBackendBucketTimeouts.go
- ComputeBackendBucketTimeoutsOutputReference.go
- ComputeBackendBucketTimeoutsOutputReference__checks.go
- ComputeBackendBucket__checks.go
- main.go