Interface ComputeRouteConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeRouteConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.922Z") @Stability(Stable) public interface ComputeRouteConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeRouteConfig.BuilderA builder forComputeRouteConfigstatic classComputeRouteConfig.Jsii$ProxyAn implementation forComputeRouteConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeRouteConfig.Builderbuilder()default StringgetDescription()An optional description of this resource.StringgetDestRange()The destination range of outgoing packets that this route applies to.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#id ComputeRoute#id}.StringgetName()Name of the resource.StringgetNetwork()The network that this route applies to.default StringgetNextHopGateway()URL to a gateway that should handle matching packets.default StringgetNextHopIlb()The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets.default StringgetNextHopInstance()URL to an instance that should handle matching packets.default StringgetNextHopInstanceZone()The zone of the instance specified in next_hop_instance.default StringgetNextHopIp()Network IP address of an instance that should handle matching packets.default StringgetNextHopVpnTunnel()URL to a VpnTunnel that should handle matching packets.default NumbergetPriority()The priority of this route.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#project ComputeRoute#project}.default List<String>getTags()A list of instance tags to which this route applies.default ComputeRouteTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getDestRange
@Stability(Stable) @NotNull String getDestRange()
The destination range of outgoing packets that this route applies to. Only IPv4 is supported.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#dest_range ComputeRoute#dest_range}
-
getName
@Stability(Stable) @NotNull String getName()
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_route#name ComputeRoute#name}
-
getNetwork
@Stability(Stable) @NotNull String getNetwork()
The network that this route applies to.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#network ComputeRoute#network}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional description of this resource. Provide this property when you create the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#description ComputeRoute#description}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#id ComputeRoute#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.
-
getNextHopGateway
@Stability(Stable) @Nullable default String getNextHopGateway()
URL to a gateway that should handle matching packets.Currently, you can only specify the internet gateway, using a full or partial valid URL: * 'https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway' * 'projects/project/global/gateways/default-internet-gateway' * 'global/gateways/default-internet-gateway' * The string 'default-internet-gateway'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#next_hop_gateway ComputeRoute#next_hop_gateway}
-
getNextHopIlb
@Stability(Stable) @Nullable default String getNextHopIlb()
The IP address or URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets.With the GA provider you can only specify the forwarding rule as a partial or full URL. For example, the following are all valid values: * 10.128.0.56 * https://www.googleapis.com/compute/v1/projects/project/regions/region/forwardingRules/forwardingRule * regions/region/forwardingRules/forwardingRule When the beta provider, you can also specify the IP address of a forwarding rule from the same VPC or any peered VPC. Note that this can only be used when the destinationRange is a public (non-RFC 1918) IP CIDR range. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#next_hop_ilb ComputeRoute#next_hop_ilb}
-
getNextHopInstance
@Stability(Stable) @Nullable default String getNextHopInstance()
URL to an instance that should handle matching packets.You can specify this as a full or partial URL. For example: * 'https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance' * 'projects/project/zones/zone/instances/instance' * 'zones/zone/instances/instance' * Just the instance name, with the zone in 'next_hop_instance_zone'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#next_hop_instance ComputeRoute#next_hop_instance}
-
getNextHopInstanceZone
@Stability(Stable) @Nullable default String getNextHopInstanceZone()
The zone of the instance specified in next_hop_instance. Omit if next_hop_instance is specified as a URL.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#next_hop_instance_zone ComputeRoute#next_hop_instance_zone}
-
getNextHopIp
@Stability(Stable) @Nullable default String getNextHopIp()
Network IP address of an instance that should handle matching packets.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#next_hop_ip ComputeRoute#next_hop_ip}
-
getNextHopVpnTunnel
@Stability(Stable) @Nullable default String getNextHopVpnTunnel()
URL to a VpnTunnel that should handle matching packets.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#next_hop_vpn_tunnel ComputeRoute#next_hop_vpn_tunnel}
-
getPriority
@Stability(Stable) @Nullable default Number getPriority()
The priority of this route.Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In the case of two routes with equal prefix length, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#priority ComputeRoute#priority}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#project ComputeRoute#project}.
-
getTags
@Stability(Stable) @Nullable default List<String> getTags()
A list of instance tags to which this route applies.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#tags ComputeRoute#tags}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeRouteTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route#timeouts ComputeRoute#timeouts}
-
builder
@Stability(Stable) static ComputeRouteConfig.Builder builder()
- Returns:
- a
ComputeRouteConfig.BuilderofComputeRouteConfig
-
-