Documentation ¶
Index ¶
- type Args
- type CdnPolicy
- type CdnPolicyAttributes
- func (cp CdnPolicyAttributes) BypassCacheOnRequestHeaders() terra.ListValue[CdnPolicyBypassCacheOnRequestHeadersAttributes]
- func (cp CdnPolicyAttributes) CacheKeyPolicy() terra.ListValue[CdnPolicyCacheKeyPolicyAttributes]
- func (cp CdnPolicyAttributes) CacheMode() terra.StringValue
- func (cp CdnPolicyAttributes) ClientTtl() terra.NumberValue
- func (cp CdnPolicyAttributes) DefaultTtl() terra.NumberValue
- func (cp CdnPolicyAttributes) InternalRef() (terra.Reference, error)
- func (cp CdnPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cp CdnPolicyAttributes) InternalWithRef(ref terra.Reference) CdnPolicyAttributes
- func (cp CdnPolicyAttributes) MaxTtl() terra.NumberValue
- func (cp CdnPolicyAttributes) NegativeCaching() terra.BoolValue
- func (cp CdnPolicyAttributes) NegativeCachingPolicy() terra.ListValue[CdnPolicyNegativeCachingPolicyAttributes]
- func (cp CdnPolicyAttributes) RequestCoalescing() terra.BoolValue
- func (cp CdnPolicyAttributes) ServeWhileStale() terra.NumberValue
- func (cp CdnPolicyAttributes) SignedUrlCacheMaxAgeSec() terra.NumberValue
- type CdnPolicyBypassCacheOnRequestHeaders
- type CdnPolicyBypassCacheOnRequestHeadersAttributes
- func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) HeaderName() terra.StringValue
- func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalRef() (terra.Reference, error)
- func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalWithRef(ref terra.Reference) CdnPolicyBypassCacheOnRequestHeadersAttributes
- type CdnPolicyBypassCacheOnRequestHeadersState
- type CdnPolicyCacheKeyPolicy
- type CdnPolicyCacheKeyPolicyAttributes
- func (ckp CdnPolicyCacheKeyPolicyAttributes) IncludeHttpHeaders() terra.ListValue[terra.StringValue]
- func (ckp CdnPolicyCacheKeyPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ckp CdnPolicyCacheKeyPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ckp CdnPolicyCacheKeyPolicyAttributes) InternalWithRef(ref terra.Reference) CdnPolicyCacheKeyPolicyAttributes
- func (ckp CdnPolicyCacheKeyPolicyAttributes) QueryStringWhitelist() terra.ListValue[terra.StringValue]
- type CdnPolicyCacheKeyPolicyState
- type CdnPolicyNegativeCachingPolicy
- type CdnPolicyNegativeCachingPolicyAttributes
- func (ncp CdnPolicyNegativeCachingPolicyAttributes) Code() terra.NumberValue
- func (ncp CdnPolicyNegativeCachingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ncp CdnPolicyNegativeCachingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ncp CdnPolicyNegativeCachingPolicyAttributes) InternalWithRef(ref terra.Reference) CdnPolicyNegativeCachingPolicyAttributes
- func (ncp CdnPolicyNegativeCachingPolicyAttributes) Ttl() terra.NumberValue
- type CdnPolicyNegativeCachingPolicyState
- type CdnPolicyState
- type DataArgs
- type DataCdnPolicyAttributes
- func (cp DataCdnPolicyAttributes) BypassCacheOnRequestHeaders() terra.ListValue[DataCdnPolicyBypassCacheOnRequestHeadersAttributes]
- func (cp DataCdnPolicyAttributes) CacheKeyPolicy() terra.ListValue[DataCdnPolicyCacheKeyPolicyAttributes]
- func (cp DataCdnPolicyAttributes) CacheMode() terra.StringValue
- func (cp DataCdnPolicyAttributes) ClientTtl() terra.NumberValue
- func (cp DataCdnPolicyAttributes) DefaultTtl() terra.NumberValue
- func (cp DataCdnPolicyAttributes) InternalRef() (terra.Reference, error)
- func (cp DataCdnPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cp DataCdnPolicyAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyAttributes
- func (cp DataCdnPolicyAttributes) MaxTtl() terra.NumberValue
- func (cp DataCdnPolicyAttributes) NegativeCaching() terra.BoolValue
- func (cp DataCdnPolicyAttributes) NegativeCachingPolicy() terra.ListValue[DataCdnPolicyNegativeCachingPolicyAttributes]
- func (cp DataCdnPolicyAttributes) RequestCoalescing() terra.BoolValue
- func (cp DataCdnPolicyAttributes) ServeWhileStale() terra.NumberValue
- func (cp DataCdnPolicyAttributes) SignedUrlCacheMaxAgeSec() terra.NumberValue
- type DataCdnPolicyBypassCacheOnRequestHeadersAttributes
- func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) HeaderName() terra.StringValue
- func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalRef() (terra.Reference, error)
- func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyBypassCacheOnRequestHeadersAttributes
- type DataCdnPolicyBypassCacheOnRequestHeadersState
- type DataCdnPolicyCacheKeyPolicyAttributes
- func (ckp DataCdnPolicyCacheKeyPolicyAttributes) IncludeHttpHeaders() terra.ListValue[terra.StringValue]
- func (ckp DataCdnPolicyCacheKeyPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ckp DataCdnPolicyCacheKeyPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ckp DataCdnPolicyCacheKeyPolicyAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyCacheKeyPolicyAttributes
- func (ckp DataCdnPolicyCacheKeyPolicyAttributes) QueryStringWhitelist() terra.ListValue[terra.StringValue]
- type DataCdnPolicyCacheKeyPolicyState
- type DataCdnPolicyNegativeCachingPolicyAttributes
- func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) Code() terra.NumberValue
- func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyNegativeCachingPolicyAttributes
- func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) Ttl() terra.NumberValue
- type DataCdnPolicyNegativeCachingPolicyState
- type DataCdnPolicyState
- type DataSource
- type Resource
- func (gcbb *Resource) Attributes() googleComputeBackendBucketAttributes
- func (gcbb *Resource) Configuration() interface{}
- func (gcbb *Resource) DependOn() terra.Reference
- func (gcbb *Resource) Dependencies() terra.Dependencies
- func (gcbb *Resource) ImportState(state io.Reader) error
- func (gcbb *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcbb *Resource) LocalName() string
- func (gcbb *Resource) State() (*googleComputeBackendBucketState, bool)
- func (gcbb *Resource) StateMust() *googleComputeBackendBucketState
- func (gcbb *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // BucketName: string, required BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"` // CompressionMode: string, optional CompressionMode terra.StringValue `hcl:"compression_mode,attr"` // CustomResponseHeaders: list of string, optional CustomResponseHeaders terra.ListValue[terra.StringValue] `hcl:"custom_response_headers,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // EdgeSecurityPolicy: string, optional EdgeSecurityPolicy terra.StringValue `hcl:"edge_security_policy,attr"` // EnableCdn: bool, optional EnableCdn terra.BoolValue `hcl:"enable_cdn,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // CdnPolicy: optional CdnPolicy *CdnPolicy `hcl:"cdn_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_backend_bucket.
type CdnPolicy ¶
type CdnPolicy struct { // CacheMode: string, optional CacheMode terra.StringValue `hcl:"cache_mode,attr"` // ClientTtl: number, optional ClientTtl terra.NumberValue `hcl:"client_ttl,attr"` // DefaultTtl: number, optional DefaultTtl terra.NumberValue `hcl:"default_ttl,attr"` // MaxTtl: number, optional MaxTtl terra.NumberValue `hcl:"max_ttl,attr"` // NegativeCaching: bool, optional NegativeCaching terra.BoolValue `hcl:"negative_caching,attr"` // RequestCoalescing: bool, optional RequestCoalescing terra.BoolValue `hcl:"request_coalescing,attr"` // ServeWhileStale: number, optional ServeWhileStale terra.NumberValue `hcl:"serve_while_stale,attr"` // SignedUrlCacheMaxAgeSec: number, optional SignedUrlCacheMaxAgeSec terra.NumberValue `hcl:"signed_url_cache_max_age_sec,attr"` // CdnPolicyBypassCacheOnRequestHeaders: min=0,max=5 BypassCacheOnRequestHeaders []CdnPolicyBypassCacheOnRequestHeaders `hcl:"bypass_cache_on_request_headers,block" validate:"min=0,max=5"` // CdnPolicyCacheKeyPolicy: optional CacheKeyPolicy *CdnPolicyCacheKeyPolicy `hcl:"cache_key_policy,block"` // CdnPolicyNegativeCachingPolicy: min=0 NegativeCachingPolicy []CdnPolicyNegativeCachingPolicy `hcl:"negative_caching_policy,block" validate:"min=0"` }
type CdnPolicyAttributes ¶
type CdnPolicyAttributes struct {
// contains filtered or unexported fields
}
func (CdnPolicyAttributes) BypassCacheOnRequestHeaders ¶
func (cp CdnPolicyAttributes) BypassCacheOnRequestHeaders() terra.ListValue[CdnPolicyBypassCacheOnRequestHeadersAttributes]
func (CdnPolicyAttributes) CacheKeyPolicy ¶
func (cp CdnPolicyAttributes) CacheKeyPolicy() terra.ListValue[CdnPolicyCacheKeyPolicyAttributes]
func (CdnPolicyAttributes) CacheMode ¶
func (cp CdnPolicyAttributes) CacheMode() terra.StringValue
func (CdnPolicyAttributes) ClientTtl ¶
func (cp CdnPolicyAttributes) ClientTtl() terra.NumberValue
func (CdnPolicyAttributes) DefaultTtl ¶
func (cp CdnPolicyAttributes) DefaultTtl() terra.NumberValue
func (CdnPolicyAttributes) InternalRef ¶
func (cp CdnPolicyAttributes) InternalRef() (terra.Reference, error)
func (CdnPolicyAttributes) InternalTokens ¶
func (cp CdnPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CdnPolicyAttributes) InternalWithRef ¶
func (cp CdnPolicyAttributes) InternalWithRef(ref terra.Reference) CdnPolicyAttributes
func (CdnPolicyAttributes) MaxTtl ¶
func (cp CdnPolicyAttributes) MaxTtl() terra.NumberValue
func (CdnPolicyAttributes) NegativeCaching ¶
func (cp CdnPolicyAttributes) NegativeCaching() terra.BoolValue
func (CdnPolicyAttributes) NegativeCachingPolicy ¶
func (cp CdnPolicyAttributes) NegativeCachingPolicy() terra.ListValue[CdnPolicyNegativeCachingPolicyAttributes]
func (CdnPolicyAttributes) RequestCoalescing ¶
func (cp CdnPolicyAttributes) RequestCoalescing() terra.BoolValue
func (CdnPolicyAttributes) ServeWhileStale ¶
func (cp CdnPolicyAttributes) ServeWhileStale() terra.NumberValue
func (CdnPolicyAttributes) SignedUrlCacheMaxAgeSec ¶
func (cp CdnPolicyAttributes) SignedUrlCacheMaxAgeSec() terra.NumberValue
type CdnPolicyBypassCacheOnRequestHeaders ¶
type CdnPolicyBypassCacheOnRequestHeaders struct { // HeaderName: string, optional HeaderName terra.StringValue `hcl:"header_name,attr"` }
type CdnPolicyBypassCacheOnRequestHeadersAttributes ¶
type CdnPolicyBypassCacheOnRequestHeadersAttributes struct {
// contains filtered or unexported fields
}
func (CdnPolicyBypassCacheOnRequestHeadersAttributes) HeaderName ¶
func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) HeaderName() terra.StringValue
func (CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalRef ¶
func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalRef() (terra.Reference, error)
func (CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalTokens ¶
func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalWithRef ¶
func (bcorh CdnPolicyBypassCacheOnRequestHeadersAttributes) InternalWithRef(ref terra.Reference) CdnPolicyBypassCacheOnRequestHeadersAttributes
type CdnPolicyBypassCacheOnRequestHeadersState ¶
type CdnPolicyBypassCacheOnRequestHeadersState struct {
HeaderName string `json:"header_name"`
}
type CdnPolicyCacheKeyPolicy ¶
type CdnPolicyCacheKeyPolicy struct { // IncludeHttpHeaders: list of string, optional IncludeHttpHeaders terra.ListValue[terra.StringValue] `hcl:"include_http_headers,attr"` // QueryStringWhitelist: list of string, optional QueryStringWhitelist terra.ListValue[terra.StringValue] `hcl:"query_string_whitelist,attr"` }
type CdnPolicyCacheKeyPolicyAttributes ¶
type CdnPolicyCacheKeyPolicyAttributes struct {
// contains filtered or unexported fields
}
func (CdnPolicyCacheKeyPolicyAttributes) IncludeHttpHeaders ¶
func (ckp CdnPolicyCacheKeyPolicyAttributes) IncludeHttpHeaders() terra.ListValue[terra.StringValue]
func (CdnPolicyCacheKeyPolicyAttributes) InternalRef ¶
func (ckp CdnPolicyCacheKeyPolicyAttributes) InternalRef() (terra.Reference, error)
func (CdnPolicyCacheKeyPolicyAttributes) InternalTokens ¶
func (ckp CdnPolicyCacheKeyPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CdnPolicyCacheKeyPolicyAttributes) InternalWithRef ¶
func (ckp CdnPolicyCacheKeyPolicyAttributes) InternalWithRef(ref terra.Reference) CdnPolicyCacheKeyPolicyAttributes
func (CdnPolicyCacheKeyPolicyAttributes) QueryStringWhitelist ¶
func (ckp CdnPolicyCacheKeyPolicyAttributes) QueryStringWhitelist() terra.ListValue[terra.StringValue]
type CdnPolicyNegativeCachingPolicy ¶
type CdnPolicyNegativeCachingPolicy struct { // Code: number, optional Code terra.NumberValue `hcl:"code,attr"` // Ttl: number, optional Ttl terra.NumberValue `hcl:"ttl,attr"` }
type CdnPolicyNegativeCachingPolicyAttributes ¶
type CdnPolicyNegativeCachingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (CdnPolicyNegativeCachingPolicyAttributes) Code ¶
func (ncp CdnPolicyNegativeCachingPolicyAttributes) Code() terra.NumberValue
func (CdnPolicyNegativeCachingPolicyAttributes) InternalRef ¶
func (ncp CdnPolicyNegativeCachingPolicyAttributes) InternalRef() (terra.Reference, error)
func (CdnPolicyNegativeCachingPolicyAttributes) InternalTokens ¶
func (ncp CdnPolicyNegativeCachingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CdnPolicyNegativeCachingPolicyAttributes) InternalWithRef ¶
func (ncp CdnPolicyNegativeCachingPolicyAttributes) InternalWithRef(ref terra.Reference) CdnPolicyNegativeCachingPolicyAttributes
func (CdnPolicyNegativeCachingPolicyAttributes) Ttl ¶
func (ncp CdnPolicyNegativeCachingPolicyAttributes) Ttl() terra.NumberValue
type CdnPolicyState ¶
type CdnPolicyState struct { CacheMode string `json:"cache_mode"` ClientTtl float64 `json:"client_ttl"` DefaultTtl float64 `json:"default_ttl"` MaxTtl float64 `json:"max_ttl"` NegativeCaching bool `json:"negative_caching"` RequestCoalescing bool `json:"request_coalescing"` ServeWhileStale float64 `json:"serve_while_stale"` SignedUrlCacheMaxAgeSec float64 `json:"signed_url_cache_max_age_sec"` BypassCacheOnRequestHeaders []CdnPolicyBypassCacheOnRequestHeadersState `json:"bypass_cache_on_request_headers"` CacheKeyPolicy []CdnPolicyCacheKeyPolicyState `json:"cache_key_policy"` NegativeCachingPolicy []CdnPolicyNegativeCachingPolicyState `json:"negative_caching_policy"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` }
DataArgs contains the configurations for google_compute_backend_bucket.
type DataCdnPolicyAttributes ¶
type DataCdnPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataCdnPolicyAttributes) BypassCacheOnRequestHeaders ¶
func (cp DataCdnPolicyAttributes) BypassCacheOnRequestHeaders() terra.ListValue[DataCdnPolicyBypassCacheOnRequestHeadersAttributes]
func (DataCdnPolicyAttributes) CacheKeyPolicy ¶
func (cp DataCdnPolicyAttributes) CacheKeyPolicy() terra.ListValue[DataCdnPolicyCacheKeyPolicyAttributes]
func (DataCdnPolicyAttributes) CacheMode ¶
func (cp DataCdnPolicyAttributes) CacheMode() terra.StringValue
func (DataCdnPolicyAttributes) ClientTtl ¶
func (cp DataCdnPolicyAttributes) ClientTtl() terra.NumberValue
func (DataCdnPolicyAttributes) DefaultTtl ¶
func (cp DataCdnPolicyAttributes) DefaultTtl() terra.NumberValue
func (DataCdnPolicyAttributes) InternalRef ¶
func (cp DataCdnPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataCdnPolicyAttributes) InternalTokens ¶
func (cp DataCdnPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCdnPolicyAttributes) InternalWithRef ¶
func (cp DataCdnPolicyAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyAttributes
func (DataCdnPolicyAttributes) MaxTtl ¶
func (cp DataCdnPolicyAttributes) MaxTtl() terra.NumberValue
func (DataCdnPolicyAttributes) NegativeCaching ¶
func (cp DataCdnPolicyAttributes) NegativeCaching() terra.BoolValue
func (DataCdnPolicyAttributes) NegativeCachingPolicy ¶
func (cp DataCdnPolicyAttributes) NegativeCachingPolicy() terra.ListValue[DataCdnPolicyNegativeCachingPolicyAttributes]
func (DataCdnPolicyAttributes) RequestCoalescing ¶
func (cp DataCdnPolicyAttributes) RequestCoalescing() terra.BoolValue
func (DataCdnPolicyAttributes) ServeWhileStale ¶
func (cp DataCdnPolicyAttributes) ServeWhileStale() terra.NumberValue
func (DataCdnPolicyAttributes) SignedUrlCacheMaxAgeSec ¶
func (cp DataCdnPolicyAttributes) SignedUrlCacheMaxAgeSec() terra.NumberValue
type DataCdnPolicyBypassCacheOnRequestHeadersAttributes ¶
type DataCdnPolicyBypassCacheOnRequestHeadersAttributes struct {
// contains filtered or unexported fields
}
func (DataCdnPolicyBypassCacheOnRequestHeadersAttributes) HeaderName ¶
func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) HeaderName() terra.StringValue
func (DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalRef ¶
func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalRef() (terra.Reference, error)
func (DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalTokens ¶
func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalWithRef ¶
func (bcorh DataCdnPolicyBypassCacheOnRequestHeadersAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyBypassCacheOnRequestHeadersAttributes
type DataCdnPolicyBypassCacheOnRequestHeadersState ¶
type DataCdnPolicyBypassCacheOnRequestHeadersState struct {
HeaderName string `json:"header_name"`
}
type DataCdnPolicyCacheKeyPolicyAttributes ¶
type DataCdnPolicyCacheKeyPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataCdnPolicyCacheKeyPolicyAttributes) IncludeHttpHeaders ¶
func (ckp DataCdnPolicyCacheKeyPolicyAttributes) IncludeHttpHeaders() terra.ListValue[terra.StringValue]
func (DataCdnPolicyCacheKeyPolicyAttributes) InternalRef ¶
func (ckp DataCdnPolicyCacheKeyPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataCdnPolicyCacheKeyPolicyAttributes) InternalTokens ¶
func (ckp DataCdnPolicyCacheKeyPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCdnPolicyCacheKeyPolicyAttributes) InternalWithRef ¶
func (ckp DataCdnPolicyCacheKeyPolicyAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyCacheKeyPolicyAttributes
func (DataCdnPolicyCacheKeyPolicyAttributes) QueryStringWhitelist ¶
func (ckp DataCdnPolicyCacheKeyPolicyAttributes) QueryStringWhitelist() terra.ListValue[terra.StringValue]
type DataCdnPolicyNegativeCachingPolicyAttributes ¶
type DataCdnPolicyNegativeCachingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataCdnPolicyNegativeCachingPolicyAttributes) Code ¶
func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) Code() terra.NumberValue
func (DataCdnPolicyNegativeCachingPolicyAttributes) InternalRef ¶
func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataCdnPolicyNegativeCachingPolicyAttributes) InternalTokens ¶
func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCdnPolicyNegativeCachingPolicyAttributes) InternalWithRef ¶
func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) InternalWithRef(ref terra.Reference) DataCdnPolicyNegativeCachingPolicyAttributes
func (DataCdnPolicyNegativeCachingPolicyAttributes) Ttl ¶
func (ncp DataCdnPolicyNegativeCachingPolicyAttributes) Ttl() terra.NumberValue
type DataCdnPolicyState ¶
type DataCdnPolicyState struct { CacheMode string `json:"cache_mode"` ClientTtl float64 `json:"client_ttl"` DefaultTtl float64 `json:"default_ttl"` MaxTtl float64 `json:"max_ttl"` NegativeCaching bool `json:"negative_caching"` RequestCoalescing bool `json:"request_coalescing"` ServeWhileStale float64 `json:"serve_while_stale"` SignedUrlCacheMaxAgeSec float64 `json:"signed_url_cache_max_age_sec"` BypassCacheOnRequestHeaders []DataCdnPolicyBypassCacheOnRequestHeadersState `json:"bypass_cache_on_request_headers"` CacheKeyPolicy []DataCdnPolicyCacheKeyPolicyState `json:"cache_key_policy"` NegativeCachingPolicy []DataCdnPolicyNegativeCachingPolicyState `json:"negative_caching_policy"` }
type DataSource ¶
DataSource represents the Terraform data resource google_compute_backend_bucket.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (gcbb *DataSource) Attributes() dataGoogleComputeBackendBucketAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (gcbb *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (gcbb *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (gcbb *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_compute_backend_bucket.
func (*Resource) Attributes ¶
func (gcbb *Resource) Attributes() googleComputeBackendBucketAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcbb *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcbb *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue