digitalocean.VpcNatGateway
Explore with Pulumi AI
Provides a DigitalOcean VPC NAT Gateway resource. This can be used to create, modify, read and delete VPC NAT Gateways.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const my_vpc = new digitalocean.Vpc("my-vpc", {
name: "terraform-example",
region: "nyc3",
});
const my_vpc_nat_gateway = new digitalocean.VpcNatGateway("my-vpc-nat-gateway", {
name: "terraform-example",
type: "PUBLIC",
region: "nyc3",
size: 1,
vpcs: [{
vpcUuid: my_vpc.id,
}],
udpTimeoutSeconds: 30,
icmpTimeoutSeconds: 30,
tcpTimeoutSeconds: 30,
});
import pulumi
import pulumi_digitalocean as digitalocean
my_vpc = digitalocean.Vpc("my-vpc",
name="terraform-example",
region="nyc3")
my_vpc_nat_gateway = digitalocean.VpcNatGateway("my-vpc-nat-gateway",
name="terraform-example",
type="PUBLIC",
region="nyc3",
size=1,
vpcs=[{
"vpc_uuid": my_vpc.id,
}],
udp_timeout_seconds=30,
icmp_timeout_seconds=30,
tcp_timeout_seconds=30)
package main
import (
"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
my_vpc, err := digitalocean.NewVpc(ctx, "my-vpc", &digitalocean.VpcArgs{
Name: pulumi.String("terraform-example"),
Region: pulumi.String("nyc3"),
})
if err != nil {
return err
}
_, err = digitalocean.NewVpcNatGateway(ctx, "my-vpc-nat-gateway", &digitalocean.VpcNatGatewayArgs{
Name: pulumi.String("terraform-example"),
Type: pulumi.String("PUBLIC"),
Region: pulumi.String("nyc3"),
Size: pulumi.Int(1),
Vpcs: digitalocean.VpcNatGatewayVpcArray{
&digitalocean.VpcNatGatewayVpcArgs{
VpcUuid: my_vpc.ID(),
},
},
UdpTimeoutSeconds: pulumi.Int(30),
IcmpTimeoutSeconds: pulumi.Int(30),
TcpTimeoutSeconds: pulumi.Int(30),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() =>
{
var my_vpc = new DigitalOcean.Vpc("my-vpc", new()
{
Name = "terraform-example",
Region = "nyc3",
});
var my_vpc_nat_gateway = new DigitalOcean.VpcNatGateway("my-vpc-nat-gateway", new()
{
Name = "terraform-example",
Type = "PUBLIC",
Region = "nyc3",
Size = 1,
Vpcs = new[]
{
new DigitalOcean.Inputs.VpcNatGatewayVpcArgs
{
VpcUuid = my_vpc.Id,
},
},
UdpTimeoutSeconds = 30,
IcmpTimeoutSeconds = 30,
TcpTimeoutSeconds = 30,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.Vpc;
import com.pulumi.digitalocean.VpcArgs;
import com.pulumi.digitalocean.VpcNatGateway;
import com.pulumi.digitalocean.VpcNatGatewayArgs;
import com.pulumi.digitalocean.inputs.VpcNatGatewayVpcArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var my_vpc = new Vpc("my-vpc", VpcArgs.builder()
.name("terraform-example")
.region("nyc3")
.build());
var my_vpc_nat_gateway = new VpcNatGateway("my-vpc-nat-gateway", VpcNatGatewayArgs.builder()
.name("terraform-example")
.type("PUBLIC")
.region("nyc3")
.size(1)
.vpcs(VpcNatGatewayVpcArgs.builder()
.vpcUuid(my_vpc.id())
.build())
.udpTimeoutSeconds(30)
.icmpTimeoutSeconds(30)
.tcpTimeoutSeconds(30)
.build());
}
}
resources:
my-vpc:
type: digitalocean:Vpc
properties:
name: terraform-example
region: nyc3
my-vpc-nat-gateway:
type: digitalocean:VpcNatGateway
properties:
name: terraform-example
type: PUBLIC
region: nyc3
size: '1'
vpcs:
- vpcUuid: ${["my-vpc"].id}
udpTimeoutSeconds: 30
icmpTimeoutSeconds: 30
tcpTimeoutSeconds: 30
Create VpcNatGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcNatGateway(name: string, args: VpcNatGatewayArgs, opts?: CustomResourceOptions);
@overload
def VpcNatGateway(resource_name: str,
args: VpcNatGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcNatGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
size: Optional[int] = None,
type: Optional[str] = None,
vpcs: Optional[Sequence[VpcNatGatewayVpcArgs]] = None,
icmp_timeout_seconds: Optional[int] = None,
name: Optional[str] = None,
tcp_timeout_seconds: Optional[int] = None,
udp_timeout_seconds: Optional[int] = None)
func NewVpcNatGateway(ctx *Context, name string, args VpcNatGatewayArgs, opts ...ResourceOption) (*VpcNatGateway, error)
public VpcNatGateway(string name, VpcNatGatewayArgs args, CustomResourceOptions? opts = null)
public VpcNatGateway(String name, VpcNatGatewayArgs args)
public VpcNatGateway(String name, VpcNatGatewayArgs args, CustomResourceOptions options)
type: digitalocean:VpcNatGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VpcNatGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcNatGatewayArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcNatGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcNatGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcNatGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vpcNatGatewayResource = new DigitalOcean.VpcNatGateway("vpcNatGatewayResource", new()
{
Region = "string",
Size = 0,
Type = "string",
Vpcs = new[]
{
new DigitalOcean.Inputs.VpcNatGatewayVpcArgs
{
VpcUuid = "string",
DefaultGateway = false,
GatewayIp = "string",
},
},
IcmpTimeoutSeconds = 0,
Name = "string",
TcpTimeoutSeconds = 0,
UdpTimeoutSeconds = 0,
});
example, err := digitalocean.NewVpcNatGateway(ctx, "vpcNatGatewayResource", &digitalocean.VpcNatGatewayArgs{
Region: pulumi.String("string"),
Size: pulumi.Int(0),
Type: pulumi.String("string"),
Vpcs: digitalocean.VpcNatGatewayVpcArray{
&digitalocean.VpcNatGatewayVpcArgs{
VpcUuid: pulumi.String("string"),
DefaultGateway: pulumi.Bool(false),
GatewayIp: pulumi.String("string"),
},
},
IcmpTimeoutSeconds: pulumi.Int(0),
Name: pulumi.String("string"),
TcpTimeoutSeconds: pulumi.Int(0),
UdpTimeoutSeconds: pulumi.Int(0),
})
var vpcNatGatewayResource = new VpcNatGateway("vpcNatGatewayResource", VpcNatGatewayArgs.builder()
.region("string")
.size(0)
.type("string")
.vpcs(VpcNatGatewayVpcArgs.builder()
.vpcUuid("string")
.defaultGateway(false)
.gatewayIp("string")
.build())
.icmpTimeoutSeconds(0)
.name("string")
.tcpTimeoutSeconds(0)
.udpTimeoutSeconds(0)
.build());
vpc_nat_gateway_resource = digitalocean.VpcNatGateway("vpcNatGatewayResource",
region="string",
size=0,
type="string",
vpcs=[{
"vpc_uuid": "string",
"default_gateway": False,
"gateway_ip": "string",
}],
icmp_timeout_seconds=0,
name="string",
tcp_timeout_seconds=0,
udp_timeout_seconds=0)
const vpcNatGatewayResource = new digitalocean.VpcNatGateway("vpcNatGatewayResource", {
region: "string",
size: 0,
type: "string",
vpcs: [{
vpcUuid: "string",
defaultGateway: false,
gatewayIp: "string",
}],
icmpTimeoutSeconds: 0,
name: "string",
tcpTimeoutSeconds: 0,
udpTimeoutSeconds: 0,
});
type: digitalocean:VpcNatGateway
properties:
icmpTimeoutSeconds: 0
name: string
region: string
size: 0
tcpTimeoutSeconds: 0
type: string
udpTimeoutSeconds: 0
vpcs:
- defaultGateway: false
gatewayIp: string
vpcUuid: string
VpcNatGateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcNatGateway resource accepts the following input properties:
- Region string
- The region for the VPC NAT Gateway.
- Size int
- The size of the VPC NAT Gateway.
- Type string
- The type of the VPC NAT Gateway.
- Vpcs
List<Pulumi.
Digital Ocean. Inputs. Vpc Nat Gateway Vpc> - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- Icmp
Timeout intSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- Name string
- The name of the VPC NAT Gateway.
- Tcp
Timeout intSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- Udp
Timeout intSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- Region string
- The region for the VPC NAT Gateway.
- Size int
- The size of the VPC NAT Gateway.
- Type string
- The type of the VPC NAT Gateway.
- Vpcs
[]Vpc
Nat Gateway Vpc Args - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- Icmp
Timeout intSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- Name string
- The name of the VPC NAT Gateway.
- Tcp
Timeout intSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- Udp
Timeout intSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- region String
- The region for the VPC NAT Gateway.
- size Integer
- The size of the VPC NAT Gateway.
- type String
- The type of the VPC NAT Gateway.
- vpcs
List<Vpc
Nat Gateway Vpc> - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- icmp
Timeout IntegerSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name String
- The name of the VPC NAT Gateway.
- tcp
Timeout IntegerSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- udp
Timeout IntegerSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- region string
- The region for the VPC NAT Gateway.
- size number
- The size of the VPC NAT Gateway.
- type string
- The type of the VPC NAT Gateway.
- vpcs
Vpc
Nat Gateway Vpc[] - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- icmp
Timeout numberSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name string
- The name of the VPC NAT Gateway.
- tcp
Timeout numberSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- udp
Timeout numberSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- region str
- The region for the VPC NAT Gateway.
- size int
- The size of the VPC NAT Gateway.
- type str
- The type of the VPC NAT Gateway.
- vpcs
Sequence[Vpc
Nat Gateway Vpc Args] - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- icmp_
timeout_ intseconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name str
- The name of the VPC NAT Gateway.
- tcp_
timeout_ intseconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- udp_
timeout_ intseconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- region String
- The region for the VPC NAT Gateway.
- size Number
- The size of the VPC NAT Gateway.
- type String
- The type of the VPC NAT Gateway.
- vpcs List<Property Map>
- The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- icmp
Timeout NumberSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name String
- The name of the VPC NAT Gateway.
- tcp
Timeout NumberSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- udp
Timeout NumberSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcNatGateway resource produces the following output properties:
- Created
At string - Created at timestamp for the VPC NAT Gateway.
- Egresses
List<Pulumi.
Digital Ocean. Outputs. Vpc Nat Gateway Egress> - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the VPC NAT Gateway
- Updated
At string - Updated at timestamp for the VPC NAT Gateway.
- Created
At string - Created at timestamp for the VPC NAT Gateway.
- Egresses
[]Vpc
Nat Gateway Egress - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the VPC NAT Gateway
- Updated
At string - Updated at timestamp for the VPC NAT Gateway.
- created
At String - Created at timestamp for the VPC NAT Gateway.
- egresses
List<Vpc
Nat Gateway Egress> - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the VPC NAT Gateway
- updated
At String - Updated at timestamp for the VPC NAT Gateway.
- created
At string - Created at timestamp for the VPC NAT Gateway.
- egresses
Vpc
Nat Gateway Egress[] - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - id string
- The provider-assigned unique ID for this managed resource.
- state string
- State of the VPC NAT Gateway
- updated
At string - Updated at timestamp for the VPC NAT Gateway.
- created_
at str - Created at timestamp for the VPC NAT Gateway.
- egresses
Sequence[Vpc
Nat Gateway Egress] - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - id str
- The provider-assigned unique ID for this managed resource.
- state str
- State of the VPC NAT Gateway
- updated_
at str - Updated at timestamp for the VPC NAT Gateway.
- created
At String - Created at timestamp for the VPC NAT Gateway.
- egresses List<Property Map>
- Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the VPC NAT Gateway
- updated
At String - Updated at timestamp for the VPC NAT Gateway.
Look up Existing VpcNatGateway Resource
Get an existing VpcNatGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcNatGatewayState, opts?: CustomResourceOptions): VpcNatGateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
egresses: Optional[Sequence[VpcNatGatewayEgressArgs]] = None,
icmp_timeout_seconds: Optional[int] = None,
name: Optional[str] = None,
region: Optional[str] = None,
size: Optional[int] = None,
state: Optional[str] = None,
tcp_timeout_seconds: Optional[int] = None,
type: Optional[str] = None,
udp_timeout_seconds: Optional[int] = None,
updated_at: Optional[str] = None,
vpcs: Optional[Sequence[VpcNatGatewayVpcArgs]] = None) -> VpcNatGateway
func GetVpcNatGateway(ctx *Context, name string, id IDInput, state *VpcNatGatewayState, opts ...ResourceOption) (*VpcNatGateway, error)
public static VpcNatGateway Get(string name, Input<string> id, VpcNatGatewayState? state, CustomResourceOptions? opts = null)
public static VpcNatGateway get(String name, Output<String> id, VpcNatGatewayState state, CustomResourceOptions options)
resources: _: type: digitalocean:VpcNatGateway get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string - Created at timestamp for the VPC NAT Gateway.
- Egresses
List<Pulumi.
Digital Ocean. Inputs. Vpc Nat Gateway Egress> - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - Icmp
Timeout intSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- Name string
- The name of the VPC NAT Gateway.
- Region string
- The region for the VPC NAT Gateway.
- Size int
- The size of the VPC NAT Gateway.
- State string
- State of the VPC NAT Gateway
- Tcp
Timeout intSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- Type string
- The type of the VPC NAT Gateway.
- Udp
Timeout intSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- Updated
At string - Updated at timestamp for the VPC NAT Gateway.
- Vpcs
List<Pulumi.
Digital Ocean. Inputs. Vpc Nat Gateway Vpc> - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- Created
At string - Created at timestamp for the VPC NAT Gateway.
- Egresses
[]Vpc
Nat Gateway Egress Args - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - Icmp
Timeout intSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- Name string
- The name of the VPC NAT Gateway.
- Region string
- The region for the VPC NAT Gateway.
- Size int
- The size of the VPC NAT Gateway.
- State string
- State of the VPC NAT Gateway
- Tcp
Timeout intSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- Type string
- The type of the VPC NAT Gateway.
- Udp
Timeout intSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- Updated
At string - Updated at timestamp for the VPC NAT Gateway.
- Vpcs
[]Vpc
Nat Gateway Vpc Args - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- created
At String - Created at timestamp for the VPC NAT Gateway.
- egresses
List<Vpc
Nat Gateway Egress> - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - icmp
Timeout IntegerSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name String
- The name of the VPC NAT Gateway.
- region String
- The region for the VPC NAT Gateway.
- size Integer
- The size of the VPC NAT Gateway.
- state String
- State of the VPC NAT Gateway
- tcp
Timeout IntegerSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- type String
- The type of the VPC NAT Gateway.
- udp
Timeout IntegerSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- updated
At String - Updated at timestamp for the VPC NAT Gateway.
- vpcs
List<Vpc
Nat Gateway Vpc> - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- created
At string - Created at timestamp for the VPC NAT Gateway.
- egresses
Vpc
Nat Gateway Egress[] - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - icmp
Timeout numberSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name string
- The name of the VPC NAT Gateway.
- region string
- The region for the VPC NAT Gateway.
- size number
- The size of the VPC NAT Gateway.
- state string
- State of the VPC NAT Gateway
- tcp
Timeout numberSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- type string
- The type of the VPC NAT Gateway.
- udp
Timeout numberSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- updated
At string - Updated at timestamp for the VPC NAT Gateway.
- vpcs
Vpc
Nat Gateway Vpc[] - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- created_
at str - Created at timestamp for the VPC NAT Gateway.
- egresses
Sequence[Vpc
Nat Gateway Egress Args] - Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - icmp_
timeout_ intseconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name str
- The name of the VPC NAT Gateway.
- region str
- The region for the VPC NAT Gateway.
- size int
- The size of the VPC NAT Gateway.
- state str
- State of the VPC NAT Gateway
- tcp_
timeout_ intseconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- type str
- The type of the VPC NAT Gateway.
- udp_
timeout_ intseconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- updated_
at str - Updated at timestamp for the VPC NAT Gateway.
- vpcs
Sequence[Vpc
Nat Gateway Vpc Args] - The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
- created
At String - Created at timestamp for the VPC NAT Gateway.
- egresses List<Property Map>
- Embeds the list of public egresses assigned to the VPC NAT Gateway: resolves as list of
public_gateways
embedding the reservedipv4
addresses. - icmp
Timeout NumberSeconds - The egress timeout value for ICMP connections of the VPC NAT Gateway.
- name String
- The name of the VPC NAT Gateway.
- region String
- The region for the VPC NAT Gateway.
- size Number
- The size of the VPC NAT Gateway.
- state String
- State of the VPC NAT Gateway
- tcp
Timeout NumberSeconds - The egress timeout value for TCP connections of the VPC NAT Gateway.
- type String
- The type of the VPC NAT Gateway.
- udp
Timeout NumberSeconds - The egress timeout value for UDP connections of the VPC NAT Gateway.
- updated
At String - Updated at timestamp for the VPC NAT Gateway.
- vpcs List<Property Map>
- The ingress VPC configuration of the VPC NAT Gateway, the supported arguments are documented below.
Supporting Types
VpcNatGatewayEgress, VpcNatGatewayEgressArgs
- Public
Gateways List<Pulumi.Digital Ocean. Inputs. Vpc Nat Gateway Egress Public Gateway> - List of public gateway IPs
- Public
Gateways []VpcNat Gateway Egress Public Gateway - List of public gateway IPs
- public
Gateways List<VpcNat Gateway Egress Public Gateway> - List of public gateway IPs
- public
Gateways VpcNat Gateway Egress Public Gateway[] - List of public gateway IPs
- public_
gateways Sequence[VpcNat Gateway Egress Public Gateway] - List of public gateway IPs
- public
Gateways List<Property Map> - List of public gateway IPs
VpcNatGatewayEgressPublicGateway, VpcNatGatewayEgressPublicGatewayArgs
- Ipv4 string
- IPv4 address
- Ipv4 string
- IPv4 address
- ipv4 String
- IPv4 address
- ipv4 string
- IPv4 address
- ipv4 str
- IPv4 address
- ipv4 String
- IPv4 address
VpcNatGatewayVpc, VpcNatGatewayVpcArgs
- Vpc
Uuid string - The ID of the ingress VPC
- Default
Gateway bool - Boolean flag indicating if this should be the default gateway in this VPC
- Gateway
Ip string - The private IP of the VPC NAT Gateway
- Vpc
Uuid string - The ID of the ingress VPC
- Default
Gateway bool - Boolean flag indicating if this should be the default gateway in this VPC
- Gateway
Ip string - The private IP of the VPC NAT Gateway
- vpc
Uuid String - The ID of the ingress VPC
- default
Gateway Boolean - Boolean flag indicating if this should be the default gateway in this VPC
- gateway
Ip String - The private IP of the VPC NAT Gateway
- vpc
Uuid string - The ID of the ingress VPC
- default
Gateway boolean - Boolean flag indicating if this should be the default gateway in this VPC
- gateway
Ip string - The private IP of the VPC NAT Gateway
- vpc_
uuid str - The ID of the ingress VPC
- default_
gateway bool - Boolean flag indicating if this should be the default gateway in this VPC
- gateway_
ip str - The private IP of the VPC NAT Gateway
- vpc
Uuid String - The ID of the ingress VPC
- default
Gateway Boolean - Boolean flag indicating if this should be the default gateway in this VPC
- gateway
Ip String - The private IP of the VPC NAT Gateway
Import
VPC NAT Gateways can be imported using their id
, e.g.
$ pulumi import digitalocean:index/vpcNatGateway:VpcNatGateway my-vpc-nat-gateway-id 38e66834-d741-47ec-88e7-c70cbdcz0445
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.