Class ComputeRegionTargetHttpsProxy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_target_https_proxy.ComputeRegionTargetHttpsProxy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionTargetHttpsProxy>
- Enclosing class:
- ComputeRegionTargetHttpsProxy
@Stability(Stable) public static final class ComputeRegionTargetHttpsProxy.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionTargetHttpsProxy>
A fluent builder forComputeRegionTargetHttpsProxy.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionTargetHttpsProxybuild()ComputeRegionTargetHttpsProxy.BuildercertificateManagerCertificates(List<String> certificateManagerCertificates)URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.ComputeRegionTargetHttpsProxy.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ComputeRegionTargetHttpsProxy.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ComputeRegionTargetHttpsProxy.Buildercount(com.hashicorp.cdktf.TerraformCount count)ComputeRegionTargetHttpsProxy.Buildercount(Number count)static ComputeRegionTargetHttpsProxy.Buildercreate(software.constructs.Construct scope, String id)ComputeRegionTargetHttpsProxy.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ComputeRegionTargetHttpsProxy.Builderdescription(String description)An optional description of this resource.ComputeRegionTargetHttpsProxy.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ComputeRegionTargetHttpsProxy.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#id ComputeRegionTargetHttpsProxy#id}.ComputeRegionTargetHttpsProxy.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ComputeRegionTargetHttpsProxy.Buildername(String name)Name of the resource.ComputeRegionTargetHttpsProxy.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#project ComputeRegionTargetHttpsProxy#project}.ComputeRegionTargetHttpsProxy.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ComputeRegionTargetHttpsProxy.Builderprovisioners(List<? extends Object> provisioners)ComputeRegionTargetHttpsProxy.Builderregion(String region)The Region in which the created target https proxy should reside.ComputeRegionTargetHttpsProxy.BuilderserverTlsPolicy(String serverTlsPolicy)A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic.ComputeRegionTargetHttpsProxy.BuildersslCertificates(List<String> sslCertificates)URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.ComputeRegionTargetHttpsProxy.BuildersslPolicy(String sslPolicy)A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource.ComputeRegionTargetHttpsProxy.Buildertimeouts(ComputeRegionTargetHttpsProxyTimeouts timeouts)timeouts block.ComputeRegionTargetHttpsProxy.BuilderurlMap(String urlMap)A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ComputeRegionTargetHttpsProxy.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
ComputeRegionTargetHttpsProxy.Builder.
-
connection
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ComputeRegionTargetHttpsProxy.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder name(String name)
Name of the resource.Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#name ComputeRegionTargetHttpsProxy#name}
- Parameters:
name- Name of the resource. This parameter is required.- Returns:
this
-
urlMap
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder urlMap(String urlMap)
A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#url_map ComputeRegionTargetHttpsProxy#url_map}
- Parameters:
urlMap- A reference to the RegionUrlMap resource that defines the mapping from URL to the RegionBackendService. This parameter is required.- Returns:
this
-
certificateManagerCertificates
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder certificateManagerCertificates(List<String> certificateManagerCertificates)
URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.sslCertificates and certificateManagerCertificates can't be defined together. Accepted format is '//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}' or just the self_link 'projects/{project}/locations/{location}/certificates/{resourceName}' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#certificate_manager_certificates ComputeRegionTargetHttpsProxy#certificate_manager_certificates}
- Parameters:
certificateManagerCertificates- URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder description(String description)
An optional description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#description ComputeRegionTargetHttpsProxy#description}
- Parameters:
description- An optional description of this resource. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#id ComputeRegionTargetHttpsProxy#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#id ComputeRegionTargetHttpsProxy#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#project ComputeRegionTargetHttpsProxy#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#project ComputeRegionTargetHttpsProxy#project}. This parameter is required.- Returns:
this
-
region
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder region(String region)
The Region in which the created target https proxy should reside.If it is not provided, the provider region is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#region ComputeRegionTargetHttpsProxy#region}
- Parameters:
region- The Region in which the created target https proxy should reside. This parameter is required.- Returns:
this
-
serverTlsPolicy
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder serverTlsPolicy(String serverTlsPolicy)
A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted.If you remove this field from your configuration at the same time as deleting or recreating a referenced ServerTlsPolicy resource, you will receive a resourceInUseByAnotherResource error. Use lifecycle.create_before_destroy within the ServerTlsPolicy resource to avoid this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#server_tls_policy ComputeRegionTargetHttpsProxy#server_tls_policy}
- Parameters:
serverTlsPolicy- A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted. This parameter is required.- Returns:
this
-
sslCertificates
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder sslCertificates(List<String> sslCertificates)
URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#ssl_certificates ComputeRegionTargetHttpsProxy#ssl_certificates}
- Parameters:
sslCertificates- URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. This parameter is required.- Returns:
this
-
sslPolicy
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder sslPolicy(String sslPolicy)
A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource.If not set, the TargetHttpsProxy resource will not have any SSL policy configured. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#ssl_policy ComputeRegionTargetHttpsProxy#ssl_policy}
- Parameters:
sslPolicy- A reference to the Region SslPolicy resource that will be associated with the TargetHttpsProxy resource. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public ComputeRegionTargetHttpsProxy.Builder timeouts(ComputeRegionTargetHttpsProxyTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_target_https_proxy#timeouts ComputeRegionTargetHttpsProxy#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ComputeRegionTargetHttpsProxy build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionTargetHttpsProxy>- Returns:
- a newly built instance of
ComputeRegionTargetHttpsProxy.
-
-