Documentation ¶
Index ¶
- func NetworkServicesEdgeCacheOrigin_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func NetworkServicesEdgeCacheOrigin_IsConstruct(x interface{}) *bool
- func NetworkServicesEdgeCacheOrigin_IsTerraformElement(x interface{}) *bool
- func NetworkServicesEdgeCacheOrigin_IsTerraformResource(x interface{}) *bool
- func NetworkServicesEdgeCacheOrigin_TfResourceType() *string
- func NewNetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference_Override(n NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference, ...)
- func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference_Override(...)
- func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList_Override(...)
- func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference_Override(...)
- func NewNetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference, ...)
- func NewNetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference, ...)
- func NewNetworkServicesEdgeCacheOriginOriginRedirectOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginRedirectOutputReference, ...)
- func NewNetworkServicesEdgeCacheOriginTimeoutOutputReference_Override(n NetworkServicesEdgeCacheOriginTimeoutOutputReference, ...)
- func NewNetworkServicesEdgeCacheOriginTimeoutsOutputReference_Override(n NetworkServicesEdgeCacheOriginTimeoutsOutputReference, ...)
- func NewNetworkServicesEdgeCacheOrigin_Override(n NetworkServicesEdgeCacheOrigin, scope constructs.Construct, id *string, ...)
- type NetworkServicesEdgeCacheOrigin
- type NetworkServicesEdgeCacheOriginAwsV4Authentication
- type NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference
- type NetworkServicesEdgeCacheOriginConfig
- type NetworkServicesEdgeCacheOriginOriginOverrideAction
- type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction
- type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference
- type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAdd
- type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList
- type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference
- type NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference
- type NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite
- type NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference
- type NetworkServicesEdgeCacheOriginOriginRedirect
- type NetworkServicesEdgeCacheOriginOriginRedirectOutputReference
- type NetworkServicesEdgeCacheOriginTimeout
- type NetworkServicesEdgeCacheOriginTimeoutOutputReference
- type NetworkServicesEdgeCacheOriginTimeouts
- type NetworkServicesEdgeCacheOriginTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NetworkServicesEdgeCacheOrigin_GenerateConfigForImport ¶
func NetworkServicesEdgeCacheOrigin_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a NetworkServicesEdgeCacheOrigin resource upon running "cdktf plan <stack-name>".
func NetworkServicesEdgeCacheOrigin_IsConstruct ¶
func NetworkServicesEdgeCacheOrigin_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 NetworkServicesEdgeCacheOrigin_IsTerraformElement ¶
func NetworkServicesEdgeCacheOrigin_IsTerraformElement(x interface{}) *bool
Experimental.
func NetworkServicesEdgeCacheOrigin_IsTerraformResource ¶
func NetworkServicesEdgeCacheOrigin_IsTerraformResource(x interface{}) *bool
Experimental.
func NetworkServicesEdgeCacheOrigin_TfResourceType ¶
func NetworkServicesEdgeCacheOrigin_TfResourceType() *string
func NewNetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference_Override(n NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList_Override ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList_Override(n NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNetworkServicesEdgeCacheOriginOriginRedirectOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginOriginRedirectOutputReference_Override(n NetworkServicesEdgeCacheOriginOriginRedirectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNetworkServicesEdgeCacheOriginTimeoutOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginTimeoutOutputReference_Override(n NetworkServicesEdgeCacheOriginTimeoutOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNetworkServicesEdgeCacheOriginTimeoutsOutputReference_Override ¶
func NewNetworkServicesEdgeCacheOriginTimeoutsOutputReference_Override(n NetworkServicesEdgeCacheOriginTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewNetworkServicesEdgeCacheOrigin_Override ¶
func NewNetworkServicesEdgeCacheOrigin_Override(n NetworkServicesEdgeCacheOrigin, scope constructs.Construct, id *string, config *NetworkServicesEdgeCacheOriginConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin google_network_services_edge_cache_origin} Resource.
Types ¶
type NetworkServicesEdgeCacheOrigin ¶
type NetworkServicesEdgeCacheOrigin interface { cdktf.TerraformResource AwsV4Authentication() NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference AwsV4AuthenticationInput() *NetworkServicesEdgeCacheOriginAwsV4Authentication // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string EffectiveLabels() cdktf.StringMap FailoverOrigin() *string SetFailoverOrigin(val *string) FailoverOriginInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MaxAttempts() *float64 SetMaxAttempts(val *float64) MaxAttemptsInput() *float64 Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node OriginAddress() *string SetOriginAddress(val *string) OriginAddressInput() *string OriginOverrideAction() NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference OriginOverrideActionInput() *NetworkServicesEdgeCacheOriginOriginOverrideAction OriginRedirect() NetworkServicesEdgeCacheOriginOriginRedirectOutputReference OriginRedirectInput() *NetworkServicesEdgeCacheOriginOriginRedirect Port() *float64 SetPort(val *float64) PortInput() *float64 Project() *string SetProject(val *string) ProjectInput() *string Protocol() *string SetProtocol(val *string) ProtocolInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RetryConditions() *[]*string SetRetryConditions(val *[]*string) RetryConditionsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformLabels() cdktf.StringMap // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeout() NetworkServicesEdgeCacheOriginTimeoutOutputReference TimeoutInput() *NetworkServicesEdgeCacheOriginTimeout Timeouts() NetworkServicesEdgeCacheOriginTimeoutsOutputReference TimeoutsInput() interface{} // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // 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. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAwsV4Authentication(value *NetworkServicesEdgeCacheOriginAwsV4Authentication) PutOriginOverrideAction(value *NetworkServicesEdgeCacheOriginOriginOverrideAction) PutOriginRedirect(value *NetworkServicesEdgeCacheOriginOriginRedirect) PutTimeout(value *NetworkServicesEdgeCacheOriginTimeout) PutTimeouts(value *NetworkServicesEdgeCacheOriginTimeouts) ResetAwsV4Authentication() ResetDescription() ResetFailoverOrigin() ResetId() ResetLabels() ResetMaxAttempts() ResetOriginOverrideAction() ResetOriginRedirect() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPort() ResetProject() ResetProtocol() ResetRetryConditions() ResetTimeout() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() 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/6.14.1/docs/resources/network_services_edge_cache_origin google_network_services_edge_cache_origin}.
func NewNetworkServicesEdgeCacheOrigin ¶
func NewNetworkServicesEdgeCacheOrigin(scope constructs.Construct, id *string, config *NetworkServicesEdgeCacheOriginConfig) NetworkServicesEdgeCacheOrigin
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin google_network_services_edge_cache_origin} Resource.
type NetworkServicesEdgeCacheOriginAwsV4Authentication ¶
type NetworkServicesEdgeCacheOriginAwsV4Authentication struct { // The access key ID your origin uses to identify the key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#access_key_id NetworkServicesEdgeCacheOrigin#access_key_id} AccessKeyId *string `field:"required" json:"accessKeyId" yaml:"accessKeyId"` // The name of the AWS region that your origin is in. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#origin_region NetworkServicesEdgeCacheOrigin#origin_region} OriginRegion *string `field:"required" json:"originRegion" yaml:"originRegion"` // The Secret Manager secret version of the secret access key used by your origin. // // This is the resource name of the secret version in the format 'projects/* /secrets/* /versions/*' where the '*' values are replaced by the project, secret, and version you require. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#secret_access_key_version NetworkServicesEdgeCacheOrigin#secret_access_key_version} // // Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space. SecretAccessKeyVersion *string `field:"required" json:"secretAccessKeyVersion" yaml:"secretAccessKeyVersion"` }
type NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference ¶
type NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference interface { cdktf.ComplexObject AccessKeyId() *string SetAccessKeyId(val *string) AccessKeyIdInput() *string // 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() *NetworkServicesEdgeCacheOriginAwsV4Authentication SetInternalValue(val *NetworkServicesEdgeCacheOriginAwsV4Authentication) OriginRegion() *string SetOriginRegion(val *string) OriginRegionInput() *string SecretAccessKeyVersion() *string SetSecretAccessKeyVersion(val *string) SecretAccessKeyVersionInput() *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 // 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 NewNetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference ¶
func NewNetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference
type NetworkServicesEdgeCacheOriginConfig ¶
type NetworkServicesEdgeCacheOriginConfig 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"` // Name of the resource; // // provided by the client when the resource is created. // The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter, // and all following characters must be a dash, underscore, letter or digit. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#name NetworkServicesEdgeCacheOrigin#name} Name *string `field:"required" json:"name" yaml:"name"` // A fully qualified domain name (FQDN) or IP address reachable over the public Internet, or the address of a Google Cloud Storage bucket. // // This address will be used as the origin for cache requests - e.g. FQDN: media-backend.example.com, IPv4: 35.218.1.1, IPv6: 2607:f8b0:4012:809::200e, Cloud Storage: gs://bucketname // // When providing an FQDN (hostname), it must be publicly resolvable (e.g. via Google public DNS) and IP addresses must be publicly routable. It must not contain a protocol (e.g., https://) and it must not contain any slashes. // If a Cloud Storage bucket is provided, it must be in the canonical "gs://bucketname" format. Other forms, such as "storage.googleapis.com", will be rejected. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#origin_address NetworkServicesEdgeCacheOrigin#origin_address} OriginAddress *string `field:"required" json:"originAddress" yaml:"originAddress"` // aws_v4_authentication block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#aws_v4_authentication NetworkServicesEdgeCacheOrigin#aws_v4_authentication} AwsV4Authentication *NetworkServicesEdgeCacheOriginAwsV4Authentication `field:"optional" json:"awsV4Authentication" yaml:"awsV4Authentication"` // A human-readable description of the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#description NetworkServicesEdgeCacheOrigin#description} Description *string `field:"optional" json:"description" yaml:"description"` // The Origin resource to try when the current origin cannot be reached. // // After maxAttempts is reached, the configured failoverOrigin will be used to fulfil the request. // // The value of timeout.maxAttemptsTimeout dictates the timeout across all origins. // A reference to a Topic resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#failover_origin NetworkServicesEdgeCacheOrigin#failover_origin} FailoverOrigin *string `field:"optional" json:"failoverOrigin" yaml:"failoverOrigin"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#id NetworkServicesEdgeCacheOrigin#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"` // Set of label tags associated with the EdgeCache resource. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field 'effective_labels' for all of the labels present on the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#labels NetworkServicesEdgeCacheOrigin#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // The maximum number of attempts to cache fill from this origin. // // Another attempt is made when a cache fill fails with one of the retryConditions. // // Once maxAttempts to this origin have failed the failoverOrigin will be used, if one is specified. That failoverOrigin may specify its own maxAttempts, // retryConditions and failoverOrigin to control its own cache fill failures. // // The total number of allowed attempts to cache fill across this and failover origins is limited to four. // The total time allowed for cache fill attempts across this and failover origins can be controlled with maxAttemptsTimeout. // // The last valid, non-retried response from all origins will be returned to the client. // If no origin returns a valid response, an HTTP 502 will be returned to the client. // // Defaults to 1. Must be a value greater than 0 and less than 4. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#max_attempts NetworkServicesEdgeCacheOrigin#max_attempts} MaxAttempts *float64 `field:"optional" json:"maxAttempts" yaml:"maxAttempts"` // origin_override_action block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#origin_override_action NetworkServicesEdgeCacheOrigin#origin_override_action} OriginOverrideAction *NetworkServicesEdgeCacheOriginOriginOverrideAction `field:"optional" json:"originOverrideAction" yaml:"originOverrideAction"` // origin_redirect block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#origin_redirect NetworkServicesEdgeCacheOrigin#origin_redirect} OriginRedirect *NetworkServicesEdgeCacheOriginOriginRedirect `field:"optional" json:"originRedirect" yaml:"originRedirect"` // The port to connect to the origin on. // // Defaults to port 443 for HTTP2 and HTTPS protocols, and port 80 for HTTP. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#port NetworkServicesEdgeCacheOrigin#port} Port *float64 `field:"optional" json:"port" yaml:"port"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#project NetworkServicesEdgeCacheOrigin#project}. Project *string `field:"optional" json:"project" yaml:"project"` // The protocol to use to connect to the configured origin. // // Defaults to HTTP2, and it is strongly recommended that users use HTTP2 for both security & performance. // // When using HTTP2 or HTTPS as the protocol, a valid, publicly-signed, unexpired TLS (SSL) certificate must be presented by the origin server. Possible values: ["HTTP2", "HTTPS", "HTTP"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#protocol NetworkServicesEdgeCacheOrigin#protocol} Protocol *string `field:"optional" json:"protocol" yaml:"protocol"` // Specifies one or more retry conditions for the configured origin. // // If the failure mode during a connection attempt to the origin matches the configured retryCondition(s), // the origin request will be retried up to maxAttempts times. The failoverOrigin, if configured, will then be used to satisfy the request. // // The default retryCondition is "CONNECT_FAILURE". // // retryConditions apply to this origin, and not subsequent failoverOrigin(s), // which may specify their own retryConditions and maxAttempts. // // Valid values are: // // - CONNECT_FAILURE: Retry on failures connecting to origins, for example due to connection timeouts. // - HTTP_5XX: Retry if the origin responds with any 5xx response code, or if the origin does not respond at all, example: disconnects, reset, read timeout, connection failure, and refused streams. // - GATEWAY_ERROR: Similar to 5xx, but only applies to response codes 502, 503 or 504. // - RETRIABLE_4XX: Retry for retriable 4xx response codes, which include HTTP 409 (Conflict) and HTTP 429 (Too Many Requests) // - NOT_FOUND: Retry if the origin returns a HTTP 404 (Not Found). This can be useful when generating video content, and the segment is not available yet. // - FORBIDDEN: Retry if the origin returns a HTTP 403 (Forbidden). Possible values: ["CONNECT_FAILURE", "HTTP_5XX", "GATEWAY_ERROR", "RETRIABLE_4XX", "NOT_FOUND", "FORBIDDEN"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#retry_conditions NetworkServicesEdgeCacheOrigin#retry_conditions} RetryConditions *[]*string `field:"optional" json:"retryConditions" yaml:"retryConditions"` // timeout block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#timeout NetworkServicesEdgeCacheOrigin#timeout} Timeout *NetworkServicesEdgeCacheOriginTimeout `field:"optional" json:"timeout" yaml:"timeout"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#timeouts NetworkServicesEdgeCacheOrigin#timeouts} Timeouts *NetworkServicesEdgeCacheOriginTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type NetworkServicesEdgeCacheOriginOriginOverrideAction ¶
type NetworkServicesEdgeCacheOriginOriginOverrideAction struct { // header_action block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#header_action NetworkServicesEdgeCacheOrigin#header_action} HeaderAction *NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction `field:"optional" json:"headerAction" yaml:"headerAction"` // url_rewrite block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#url_rewrite NetworkServicesEdgeCacheOrigin#url_rewrite} UrlRewrite *NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite `field:"optional" json:"urlRewrite" yaml:"urlRewrite"` }
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction struct { // request_headers_to_add block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#request_headers_to_add NetworkServicesEdgeCacheOrigin#request_headers_to_add} RequestHeadersToAdd interface{} `field:"optional" json:"requestHeadersToAdd" yaml:"requestHeadersToAdd"` }
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference 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 InternalValue() *NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction SetInternalValue(val *NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction) RequestHeadersToAdd() NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList RequestHeadersToAddInput() 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 PutRequestHeadersToAdd(value interface{}) ResetRequestHeadersToAdd() // 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 NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAdd ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAdd struct { // The name of the header to add. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#header_name NetworkServicesEdgeCacheOrigin#header_name} HeaderName *string `field:"required" json:"headerName" yaml:"headerName"` // The value of the header to add. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#header_value NetworkServicesEdgeCacheOrigin#header_value} HeaderValue *string `field:"required" json:"headerValue" yaml:"headerValue"` // Whether to replace all existing headers with the same name. // // By default, added header values are appended // to the response or request headers with the // same field names. The added values are // separated by commas. // // To overwrite existing values, set 'replace' to 'true'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#replace NetworkServicesEdgeCacheOrigin#replace} Replace interface{} `field:"optional" json:"replace" yaml:"replace"` }
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList 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) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference // 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 NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference 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 HeaderValue() *string SetHeaderValue(val *string) HeaderValueInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Replace() interface{} SetReplace(val interface{}) ReplaceInput() 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 ResetReplace() // 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 NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference
type NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference 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 HeaderAction() NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference HeaderActionInput() *NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction InternalValue() *NetworkServicesEdgeCacheOriginOriginOverrideAction SetInternalValue(val *NetworkServicesEdgeCacheOriginOriginOverrideAction) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UrlRewrite() NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference UrlRewriteInput() *NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite // 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 PutHeaderAction(value *NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction) PutUrlRewrite(value *NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite) ResetHeaderAction() ResetUrlRewrite() // 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 NewNetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference
type NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite struct { // Prior to forwarding the request to the selected origin, the request's host header is replaced with contents of the hostRewrite. // // This value must be between 1 and 255 characters. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#host_rewrite NetworkServicesEdgeCacheOrigin#host_rewrite} HostRewrite *string `field:"optional" json:"hostRewrite" yaml:"hostRewrite"` }
type NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference ¶
type NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference 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 HostRewrite() *string SetHostRewrite(val *string) HostRewriteInput() *string InternalValue() *NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite SetInternalValue(val *NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite) // 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 ResetHostRewrite() // 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 NewNetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference ¶
func NewNetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference
type NetworkServicesEdgeCacheOriginOriginRedirect ¶
type NetworkServicesEdgeCacheOriginOriginRedirect struct { // The set of redirect response codes that the CDN follows. Values of [RedirectConditions](https://cloud.google.com/media-cdn/docs/reference/rest/v1/projects.locations.edgeCacheOrigins#redirectconditions) are accepted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#redirect_conditions NetworkServicesEdgeCacheOrigin#redirect_conditions} RedirectConditions *[]*string `field:"optional" json:"redirectConditions" yaml:"redirectConditions"` }
type NetworkServicesEdgeCacheOriginOriginRedirectOutputReference ¶
type NetworkServicesEdgeCacheOriginOriginRedirectOutputReference 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 InternalValue() *NetworkServicesEdgeCacheOriginOriginRedirect SetInternalValue(val *NetworkServicesEdgeCacheOriginOriginRedirect) RedirectConditions() *[]*string SetRedirectConditions(val *[]*string) RedirectConditionsInput() *[]*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 ResetRedirectConditions() // 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 NewNetworkServicesEdgeCacheOriginOriginRedirectOutputReference ¶
func NewNetworkServicesEdgeCacheOriginOriginRedirectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NetworkServicesEdgeCacheOriginOriginRedirectOutputReference
type NetworkServicesEdgeCacheOriginTimeout ¶
type NetworkServicesEdgeCacheOriginTimeout struct { // The maximum duration to wait for a single origin connection to be established, including DNS lookup, TLS handshake and TCP/QUIC connection establishment. // // Defaults to 5 seconds. The timeout must be a value between 1s and 15s. // // The connectTimeout capped by the deadline set by the request's maxAttemptsTimeout. The last connection attempt may have a smaller connectTimeout in order to adhere to the overall maxAttemptsTimeout. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#connect_timeout NetworkServicesEdgeCacheOrigin#connect_timeout} ConnectTimeout *string `field:"optional" json:"connectTimeout" yaml:"connectTimeout"` // The maximum time across all connection attempts to the origin, including failover origins, before returning an error to the client. // // A HTTP 504 will be returned if the timeout is reached before a response is returned. // // Defaults to 15 seconds. The timeout must be a value between 1s and 30s. // // If a failoverOrigin is specified, the maxAttemptsTimeout of the first configured origin sets the deadline for all connection attempts across all failoverOrigins. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#max_attempts_timeout NetworkServicesEdgeCacheOrigin#max_attempts_timeout} MaxAttemptsTimeout *string `field:"optional" json:"maxAttemptsTimeout" yaml:"maxAttemptsTimeout"` // The maximum duration to wait between reads of a single HTTP connection/stream. // // Defaults to 15 seconds. The timeout must be a value between 1s and 30s. // // The readTimeout is capped by the responseTimeout. All reads of the HTTP connection/stream must be completed by the deadline set by the responseTimeout. // // If the response headers have already been written to the connection, the response will be truncated and logged. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#read_timeout NetworkServicesEdgeCacheOrigin#read_timeout} ReadTimeout *string `field:"optional" json:"readTimeout" yaml:"readTimeout"` // The maximum duration to wait for the last byte of a response to arrive when reading from the HTTP connection/stream. // // Defaults to 30 seconds. The timeout must be a value between 1s and 120s. // // The responseTimeout starts after the connection has been established. // // This also applies to HTTP Chunked Transfer Encoding responses, and/or when an open-ended Range request is made to the origin. Origins that take longer to write additional bytes to the response than the configured responseTimeout will result in an error being returned to the client. // // If the response headers have already been written to the connection, the response will be truncated and logged. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#response_timeout NetworkServicesEdgeCacheOrigin#response_timeout} ResponseTimeout *string `field:"optional" json:"responseTimeout" yaml:"responseTimeout"` }
type NetworkServicesEdgeCacheOriginTimeoutOutputReference ¶
type NetworkServicesEdgeCacheOriginTimeoutOutputReference 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) ConnectTimeout() *string SetConnectTimeout(val *string) ConnectTimeoutInput() *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 // Experimental. Fqn() *string InternalValue() *NetworkServicesEdgeCacheOriginTimeout SetInternalValue(val *NetworkServicesEdgeCacheOriginTimeout) MaxAttemptsTimeout() *string SetMaxAttemptsTimeout(val *string) MaxAttemptsTimeoutInput() *string ReadTimeout() *string SetReadTimeout(val *string) ReadTimeoutInput() *string ResponseTimeout() *string SetResponseTimeout(val *string) ResponseTimeoutInput() *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 ResetConnectTimeout() ResetMaxAttemptsTimeout() ResetReadTimeout() ResetResponseTimeout() // 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 NewNetworkServicesEdgeCacheOriginTimeoutOutputReference ¶
func NewNetworkServicesEdgeCacheOriginTimeoutOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NetworkServicesEdgeCacheOriginTimeoutOutputReference
type NetworkServicesEdgeCacheOriginTimeouts ¶
type NetworkServicesEdgeCacheOriginTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#create NetworkServicesEdgeCacheOrigin#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#delete NetworkServicesEdgeCacheOrigin#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/network_services_edge_cache_origin#update NetworkServicesEdgeCacheOrigin#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type NetworkServicesEdgeCacheOriginTimeoutsOutputReference ¶
type NetworkServicesEdgeCacheOriginTimeoutsOutputReference 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 NewNetworkServicesEdgeCacheOriginTimeoutsOutputReference ¶
func NewNetworkServicesEdgeCacheOriginTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) NetworkServicesEdgeCacheOriginTimeoutsOutputReference
Source Files ¶
- NetworkServicesEdgeCacheOrigin.go
- NetworkServicesEdgeCacheOriginAwsV4Authentication.go
- NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference.go
- NetworkServicesEdgeCacheOriginAwsV4AuthenticationOutputReference__checks.go
- NetworkServicesEdgeCacheOriginConfig.go
- NetworkServicesEdgeCacheOriginOriginOverrideAction.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderAction.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionOutputReference__checks.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAdd.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddList__checks.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionHeaderActionRequestHeadersToAddOutputReference__checks.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionOutputReference__checks.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewrite.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference.go
- NetworkServicesEdgeCacheOriginOriginOverrideActionUrlRewriteOutputReference__checks.go
- NetworkServicesEdgeCacheOriginOriginRedirect.go
- NetworkServicesEdgeCacheOriginOriginRedirectOutputReference.go
- NetworkServicesEdgeCacheOriginOriginRedirectOutputReference__checks.go
- NetworkServicesEdgeCacheOriginTimeout.go
- NetworkServicesEdgeCacheOriginTimeoutOutputReference.go
- NetworkServicesEdgeCacheOriginTimeoutOutputReference__checks.go
- NetworkServicesEdgeCacheOriginTimeouts.go
- NetworkServicesEdgeCacheOriginTimeoutsOutputReference.go
- NetworkServicesEdgeCacheOriginTimeoutsOutputReference__checks.go
- NetworkServicesEdgeCacheOrigin__checks.go
- main.go