Class NetworkServicesEdgeCacheOriginConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.network_services_edge_cache_origin.NetworkServicesEdgeCacheOriginConfig.Jsii$Proxy
-
- All Implemented Interfaces:
NetworkServicesEdgeCacheOriginConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- NetworkServicesEdgeCacheOriginConfig
@Stability(Stable) @Internal public static final class NetworkServicesEdgeCacheOriginConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NetworkServicesEdgeCacheOriginConfig
An implementation forNetworkServicesEdgeCacheOriginConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.network_services_edge_cache_origin.NetworkServicesEdgeCacheOriginConfig
NetworkServicesEdgeCacheOriginConfig.Builder, NetworkServicesEdgeCacheOriginConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(NetworkServicesEdgeCacheOriginConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theNetworkServicesEdgeCacheOriginConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NetworkServicesEdgeCacheOriginAwsV4AuthenticationgetAwsV4Authentication()aws_v4_authentication block.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()A human-readable description of the resource.StringgetFailoverOrigin()The Origin resource to try when the current origin cannot be reached.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#id NetworkServicesEdgeCacheOrigin#id}.Map<String,String>getLabels()Set of label tags associated with the EdgeCache resource.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()NumbergetMaxAttempts()The maximum number of attempts to cache fill from this origin.StringgetName()Name of the resource;StringgetOriginAddress()A fully qualified domain name (FQDN) or IP address reachable over the public Internet, or the address of a Google Cloud Storage bucket.NetworkServicesEdgeCacheOriginOriginOverrideActiongetOriginOverrideAction()origin_override_action block.NetworkServicesEdgeCacheOriginOriginRedirectgetOriginRedirect()origin_redirect block.NumbergetPort()The port to connect to the origin on.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#project NetworkServicesEdgeCacheOrigin#project}.StringgetProtocol()The protocol to use to connect to the configured origin.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()List<String>getRetryConditions()Specifies one or more retry conditions for the configured origin.NetworkServicesEdgeCacheOriginTimeoutgetTimeout()timeout block.NetworkServicesEdgeCacheOriginTimeoutsgetTimeouts()timeouts block.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(NetworkServicesEdgeCacheOriginConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theNetworkServicesEdgeCacheOriginConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigName 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/5.43.1/docs/resources/network_services_edge_cache_origin#name NetworkServicesEdgeCacheOrigin#name}
- Specified by:
getNamein interfaceNetworkServicesEdgeCacheOriginConfig
-
getOriginAddress
public final String getOriginAddress()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigA 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/5.43.1/docs/resources/network_services_edge_cache_origin#origin_address NetworkServicesEdgeCacheOrigin#origin_address}
- Specified by:
getOriginAddressin interfaceNetworkServicesEdgeCacheOriginConfig
-
getAwsV4Authentication
public final NetworkServicesEdgeCacheOriginAwsV4Authentication getAwsV4Authentication()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigaws_v4_authentication block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#aws_v4_authentication NetworkServicesEdgeCacheOrigin#aws_v4_authentication}
- Specified by:
getAwsV4Authenticationin interfaceNetworkServicesEdgeCacheOriginConfig
-
getDescription
public final String getDescription()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigA human-readable description of the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#description NetworkServicesEdgeCacheOrigin#description}
- Specified by:
getDescriptionin interfaceNetworkServicesEdgeCacheOriginConfig
-
getFailoverOrigin
public final String getFailoverOrigin()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigThe 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/5.43.1/docs/resources/network_services_edge_cache_origin#failover_origin NetworkServicesEdgeCacheOrigin#failover_origin}
- Specified by:
getFailoverOriginin interfaceNetworkServicesEdgeCacheOriginConfig
-
getId
public final String getId()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.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.
- Specified by:
getIdin interfaceNetworkServicesEdgeCacheOriginConfig
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigSet 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/5.43.1/docs/resources/network_services_edge_cache_origin#labels NetworkServicesEdgeCacheOrigin#labels}
- Specified by:
getLabelsin interfaceNetworkServicesEdgeCacheOriginConfig
-
getMaxAttempts
public final Number getMaxAttempts()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigThe 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/5.43.1/docs/resources/network_services_edge_cache_origin#max_attempts NetworkServicesEdgeCacheOrigin#max_attempts}
- Specified by:
getMaxAttemptsin interfaceNetworkServicesEdgeCacheOriginConfig
-
getOriginOverrideAction
public final NetworkServicesEdgeCacheOriginOriginOverrideAction getOriginOverrideAction()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigorigin_override_action block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#origin_override_action NetworkServicesEdgeCacheOrigin#origin_override_action}
- Specified by:
getOriginOverrideActionin interfaceNetworkServicesEdgeCacheOriginConfig
-
getOriginRedirect
public final NetworkServicesEdgeCacheOriginOriginRedirect getOriginRedirect()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigorigin_redirect block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#origin_redirect NetworkServicesEdgeCacheOrigin#origin_redirect}
- Specified by:
getOriginRedirectin interfaceNetworkServicesEdgeCacheOriginConfig
-
getPort
public final Number getPort()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigThe 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/5.43.1/docs/resources/network_services_edge_cache_origin#port NetworkServicesEdgeCacheOrigin#port}
- Specified by:
getPortin interfaceNetworkServicesEdgeCacheOriginConfig
-
getProject
public final String getProject()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#project NetworkServicesEdgeCacheOrigin#project}.- Specified by:
getProjectin interfaceNetworkServicesEdgeCacheOriginConfig
-
getProtocol
public final String getProtocol()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigThe 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/5.43.1/docs/resources/network_services_edge_cache_origin#protocol NetworkServicesEdgeCacheOrigin#protocol}
- Specified by:
getProtocolin interfaceNetworkServicesEdgeCacheOriginConfig
-
getRetryConditions
public final List<String> getRetryConditions()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigSpecifies 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/5.43.1/docs/resources/network_services_edge_cache_origin#retry_conditions NetworkServicesEdgeCacheOrigin#retry_conditions}
- Specified by:
getRetryConditionsin interfaceNetworkServicesEdgeCacheOriginConfig
-
getTimeout
public final NetworkServicesEdgeCacheOriginTimeout getTimeout()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigtimeout block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#timeout NetworkServicesEdgeCacheOrigin#timeout}
- Specified by:
getTimeoutin interfaceNetworkServicesEdgeCacheOriginConfig
-
getTimeouts
public final NetworkServicesEdgeCacheOriginTimeouts getTimeouts()
Description copied from interface:NetworkServicesEdgeCacheOriginConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_origin#timeouts NetworkServicesEdgeCacheOrigin#timeouts}
- Specified by:
getTimeoutsin interfaceNetworkServicesEdgeCacheOriginConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-