aviatrix.AviatrixAwsTgwVpnConn

Explore with Pulumi AI

The aviatrix_aws_tgw_vpn_conn resource allows the creation and management of Aviatrix AWS TGW VPN connections in their selected Security Domain.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;

return await Deployment.RunAsync(() => 
{
    // Create an Aviatrix AWS TGW VPN Connection (dynamic)
    var testAwsTgwVpnConn = new Aviatrix.AviatrixAwsTgwVpnConn("testAwsTgwVpnConn", new()
    {
        ConnectionName = "my-conn1",
        ConnectionType = "dynamic",
        PublicIp = "40.0.0.0",
        RemoteAsNumber = "12",
        RouteDomainName = "Default_Domain",
        TgwName = "test-tgw1",
    });

});
package main

import (
	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aviatrix.NewAviatrixAwsTgwVpnConn(ctx, "testAwsTgwVpnConn", &aviatrix.AviatrixAwsTgwVpnConnArgs{
			ConnectionName:  pulumi.String("my-conn1"),
			ConnectionType:  pulumi.String("dynamic"),
			PublicIp:        pulumi.String("40.0.0.0"),
			RemoteAsNumber:  pulumi.String("12"),
			RouteDomainName: pulumi.String("Default_Domain"),
			TgwName:         pulumi.String("test-tgw1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixAwsTgwVpnConn;
import com.pulumi.aviatrix.AviatrixAwsTgwVpnConnArgs;
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 testAwsTgwVpnConn = new AviatrixAwsTgwVpnConn("testAwsTgwVpnConn", AviatrixAwsTgwVpnConnArgs.builder()        
            .connectionName("my-conn1")
            .connectionType("dynamic")
            .publicIp("40.0.0.0")
            .remoteAsNumber("12")
            .routeDomainName("Default_Domain")
            .tgwName("test-tgw1")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

# Create an Aviatrix AWS TGW VPN Connection (dynamic)
test_aws_tgw_vpn_conn = aviatrix.AviatrixAwsTgwVpnConn("testAwsTgwVpnConn",
    connection_name="my-conn1",
    connection_type="dynamic",
    public_ip="40.0.0.0",
    remote_as_number="12",
    route_domain_name="Default_Domain",
    tgw_name="test-tgw1")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Create an Aviatrix AWS TGW VPN Connection (dynamic)
const testAwsTgwVpnConn = new aviatrix.AviatrixAwsTgwVpnConn("test_aws_tgw_vpn_conn", {
    connectionName: "my-conn1",
    connectionType: "dynamic",
    publicIp: "40.0.0.0",
    remoteAsNumber: "12",
    routeDomainName: "Default_Domain",
    tgwName: "test-tgw1",
});
resources:
  # Create an Aviatrix AWS TGW VPN Connection (dynamic)
  testAwsTgwVpnConn:
    type: aviatrix:AviatrixAwsTgwVpnConn
    properties:
      connectionName: my-conn1
      connectionType: dynamic
      publicIp: 40.0.0.0
      remoteAsNumber: '12'
      routeDomainName: Default_Domain
      tgwName: test-tgw1
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;

return await Deployment.RunAsync(() => 
{
    // Create an Aviatrix AWS TGW VPN Connection (static)
    var testAwsTgwVpnConn = new Aviatrix.AviatrixAwsTgwVpnConn("testAwsTgwVpnConn", new()
    {
        ConnectionName = "my-conn1",
        ConnectionType = "static",
        PublicIp = "40.0.0.0",
        RemoteCidr = "16.0.0.0/16,16.1.0.0/16",
        RouteDomainName = "Default_Domain",
        TgwName = "test-tgw1",
    });

});
package main

import (
	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aviatrix.NewAviatrixAwsTgwVpnConn(ctx, "testAwsTgwVpnConn", &aviatrix.AviatrixAwsTgwVpnConnArgs{
			ConnectionName:  pulumi.String("my-conn1"),
			ConnectionType:  pulumi.String("static"),
			PublicIp:        pulumi.String("40.0.0.0"),
			RemoteCidr:      pulumi.String("16.0.0.0/16,16.1.0.0/16"),
			RouteDomainName: pulumi.String("Default_Domain"),
			TgwName:         pulumi.String("test-tgw1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixAwsTgwVpnConn;
import com.pulumi.aviatrix.AviatrixAwsTgwVpnConnArgs;
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 testAwsTgwVpnConn = new AviatrixAwsTgwVpnConn("testAwsTgwVpnConn", AviatrixAwsTgwVpnConnArgs.builder()        
            .connectionName("my-conn1")
            .connectionType("static")
            .publicIp("40.0.0.0")
            .remoteCidr("16.0.0.0/16,16.1.0.0/16")
            .routeDomainName("Default_Domain")
            .tgwName("test-tgw1")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

# Create an Aviatrix AWS TGW VPN Connection (static)
test_aws_tgw_vpn_conn = aviatrix.AviatrixAwsTgwVpnConn("testAwsTgwVpnConn",
    connection_name="my-conn1",
    connection_type="static",
    public_ip="40.0.0.0",
    remote_cidr="16.0.0.0/16,16.1.0.0/16",
    route_domain_name="Default_Domain",
    tgw_name="test-tgw1")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Create an Aviatrix AWS TGW VPN Connection (static)
const testAwsTgwVpnConn = new aviatrix.AviatrixAwsTgwVpnConn("test_aws_tgw_vpn_conn", {
    connectionName: "my-conn1",
    connectionType: "static",
    publicIp: "40.0.0.0",
    remoteCidr: "16.0.0.0/16,16.1.0.0/16",
    routeDomainName: "Default_Domain",
    tgwName: "test-tgw1",
});
resources:
  # Create an Aviatrix AWS TGW VPN Connection (static)
  testAwsTgwVpnConn:
    type: aviatrix:AviatrixAwsTgwVpnConn
    properties:
      connectionName: my-conn1
      connectionType: static
      publicIp: 40.0.0.0
      remoteCidr: 16.0.0.0/16,16.1.0.0/16
      routeDomainName: Default_Domain
      tgwName: test-tgw1

Create AviatrixAwsTgwVpnConn Resource

new AviatrixAwsTgwVpnConn(name: string, args: AviatrixAwsTgwVpnConnArgs, opts?: CustomResourceOptions);
@overload
def AviatrixAwsTgwVpnConn(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          connection_name: Optional[str] = None,
                          connection_type: Optional[str] = None,
                          enable_global_acceleration: Optional[bool] = None,
                          enable_learned_cidrs_approval: Optional[bool] = None,
                          inside_ip_cidr_tun1: Optional[str] = None,
                          inside_ip_cidr_tun2: Optional[str] = None,
                          pre_shared_key_tun1: Optional[str] = None,
                          pre_shared_key_tun2: Optional[str] = None,
                          public_ip: Optional[str] = None,
                          remote_as_number: Optional[str] = None,
                          remote_cidr: Optional[str] = None,
                          route_domain_name: Optional[str] = None,
                          tgw_name: Optional[str] = None)
@overload
def AviatrixAwsTgwVpnConn(resource_name: str,
                          args: AviatrixAwsTgwVpnConnArgs,
                          opts: Optional[ResourceOptions] = None)
func NewAviatrixAwsTgwVpnConn(ctx *Context, name string, args AviatrixAwsTgwVpnConnArgs, opts ...ResourceOption) (*AviatrixAwsTgwVpnConn, error)
public AviatrixAwsTgwVpnConn(string name, AviatrixAwsTgwVpnConnArgs args, CustomResourceOptions? opts = null)
public AviatrixAwsTgwVpnConn(String name, AviatrixAwsTgwVpnConnArgs args)
public AviatrixAwsTgwVpnConn(String name, AviatrixAwsTgwVpnConnArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixAwsTgwVpnConn
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AviatrixAwsTgwVpnConnArgs
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 AviatrixAwsTgwVpnConnArgs
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 AviatrixAwsTgwVpnConnArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AviatrixAwsTgwVpnConnArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AviatrixAwsTgwVpnConnArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AviatrixAwsTgwVpnConn Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AviatrixAwsTgwVpnConn resource accepts the following input properties:

ConnectionName string

Unique name of the connection.

PublicIp string

Public IP address. Example: "40.0.0.0".

RouteDomainName string

The name of a route domain, to which the vpn will be attached.

TgwName string

This parameter represents the name of an AWS TGW.

ConnectionType string

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

EnableGlobalAcceleration bool

Enable Global Acceleration. Type: Boolean. Default: false.

EnableLearnedCidrsApproval bool

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

InsideIpCidrTun1 string

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

InsideIpCidrTun2 string

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

PreSharedKeyTun1 string

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

PreSharedKeyTun2 string

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

RemoteAsNumber string

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

RemoteCidr string

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

ConnectionName string

Unique name of the connection.

PublicIp string

Public IP address. Example: "40.0.0.0".

RouteDomainName string

The name of a route domain, to which the vpn will be attached.

TgwName string

This parameter represents the name of an AWS TGW.

ConnectionType string

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

EnableGlobalAcceleration bool

Enable Global Acceleration. Type: Boolean. Default: false.

EnableLearnedCidrsApproval bool

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

InsideIpCidrTun1 string

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

InsideIpCidrTun2 string

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

PreSharedKeyTun1 string

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

PreSharedKeyTun2 string

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

RemoteAsNumber string

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

RemoteCidr string

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

connectionName String

Unique name of the connection.

publicIp String

Public IP address. Example: "40.0.0.0".

routeDomainName String

The name of a route domain, to which the vpn will be attached.

tgwName String

This parameter represents the name of an AWS TGW.

connectionType String

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enableGlobalAcceleration Boolean

Enable Global Acceleration. Type: Boolean. Default: false.

enableLearnedCidrsApproval Boolean

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

insideIpCidrTun1 String

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

insideIpCidrTun2 String

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

preSharedKeyTun1 String

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

preSharedKeyTun2 String

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

remoteAsNumber String

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remoteCidr String

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

connectionName string

Unique name of the connection.

publicIp string

Public IP address. Example: "40.0.0.0".

routeDomainName string

The name of a route domain, to which the vpn will be attached.

tgwName string

This parameter represents the name of an AWS TGW.

connectionType string

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enableGlobalAcceleration boolean

Enable Global Acceleration. Type: Boolean. Default: false.

enableLearnedCidrsApproval boolean

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

insideIpCidrTun1 string

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

insideIpCidrTun2 string

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

preSharedKeyTun1 string

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

preSharedKeyTun2 string

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

remoteAsNumber string

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remoteCidr string

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

connection_name str

Unique name of the connection.

public_ip str

Public IP address. Example: "40.0.0.0".

route_domain_name str

The name of a route domain, to which the vpn will be attached.

tgw_name str

This parameter represents the name of an AWS TGW.

connection_type str

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enable_global_acceleration bool

Enable Global Acceleration. Type: Boolean. Default: false.

enable_learned_cidrs_approval bool

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

inside_ip_cidr_tun1 str

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

inside_ip_cidr_tun2 str

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

pre_shared_key_tun1 str

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

pre_shared_key_tun2 str

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

remote_as_number str

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remote_cidr str

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

connectionName String

Unique name of the connection.

publicIp String

Public IP address. Example: "40.0.0.0".

routeDomainName String

The name of a route domain, to which the vpn will be attached.

tgwName String

This parameter represents the name of an AWS TGW.

connectionType String

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enableGlobalAcceleration Boolean

Enable Global Acceleration. Type: Boolean. Default: false.

enableLearnedCidrsApproval Boolean

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

insideIpCidrTun1 String

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

insideIpCidrTun2 String

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

preSharedKeyTun1 String

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

preSharedKeyTun2 String

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

remoteAsNumber String

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remoteCidr String

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

Outputs

All input properties are implicitly available as output properties. Additionally, the AviatrixAwsTgwVpnConn resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

VpnId string

ID of the VPN generated by creation of the connection.

VpnTunnelDatas List<AviatrixAwsTgwVpnConnVpnTunnelData>

AWS TGW VPN tunnel data.

Id string

The provider-assigned unique ID for this managed resource.

VpnId string

ID of the VPN generated by creation of the connection.

VpnTunnelDatas []AviatrixAwsTgwVpnConnVpnTunnelData

AWS TGW VPN tunnel data.

id String

The provider-assigned unique ID for this managed resource.

vpnId String

ID of the VPN generated by creation of the connection.

vpnTunnelDatas List<AviatrixAwsTgwVpnConnVpnTunnelData>

AWS TGW VPN tunnel data.

id string

The provider-assigned unique ID for this managed resource.

vpnId string

ID of the VPN generated by creation of the connection.

vpnTunnelDatas AviatrixAwsTgwVpnConnVpnTunnelData[]

AWS TGW VPN tunnel data.

id str

The provider-assigned unique ID for this managed resource.

vpn_id str

ID of the VPN generated by creation of the connection.

vpn_tunnel_datas Sequence[AviatrixAwsTgwVpnConnVpnTunnelData]

AWS TGW VPN tunnel data.

id String

The provider-assigned unique ID for this managed resource.

vpnId String

ID of the VPN generated by creation of the connection.

vpnTunnelDatas List<Property Map>

AWS TGW VPN tunnel data.

Look up Existing AviatrixAwsTgwVpnConn Resource

Get an existing AviatrixAwsTgwVpnConn 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?: AviatrixAwsTgwVpnConnState, opts?: CustomResourceOptions): AviatrixAwsTgwVpnConn
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connection_name: Optional[str] = None,
        connection_type: Optional[str] = None,
        enable_global_acceleration: Optional[bool] = None,
        enable_learned_cidrs_approval: Optional[bool] = None,
        inside_ip_cidr_tun1: Optional[str] = None,
        inside_ip_cidr_tun2: Optional[str] = None,
        pre_shared_key_tun1: Optional[str] = None,
        pre_shared_key_tun2: Optional[str] = None,
        public_ip: Optional[str] = None,
        remote_as_number: Optional[str] = None,
        remote_cidr: Optional[str] = None,
        route_domain_name: Optional[str] = None,
        tgw_name: Optional[str] = None,
        vpn_id: Optional[str] = None,
        vpn_tunnel_datas: Optional[Sequence[AviatrixAwsTgwVpnConnVpnTunnelDataArgs]] = None) -> AviatrixAwsTgwVpnConn
func GetAviatrixAwsTgwVpnConn(ctx *Context, name string, id IDInput, state *AviatrixAwsTgwVpnConnState, opts ...ResourceOption) (*AviatrixAwsTgwVpnConn, error)
public static AviatrixAwsTgwVpnConn Get(string name, Input<string> id, AviatrixAwsTgwVpnConnState? state, CustomResourceOptions? opts = null)
public static AviatrixAwsTgwVpnConn get(String name, Output<String> id, AviatrixAwsTgwVpnConnState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
ConnectionName string

Unique name of the connection.

ConnectionType string

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

EnableGlobalAcceleration bool

Enable Global Acceleration. Type: Boolean. Default: false.

EnableLearnedCidrsApproval bool

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

InsideIpCidrTun1 string

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

InsideIpCidrTun2 string

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

PreSharedKeyTun1 string

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

PreSharedKeyTun2 string

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

PublicIp string

Public IP address. Example: "40.0.0.0".

RemoteAsNumber string

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

RemoteCidr string

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

RouteDomainName string

The name of a route domain, to which the vpn will be attached.

TgwName string

This parameter represents the name of an AWS TGW.

VpnId string

ID of the VPN generated by creation of the connection.

VpnTunnelDatas List<AviatrixAwsTgwVpnConnVpnTunnelDataArgs>

AWS TGW VPN tunnel data.

ConnectionName string

Unique name of the connection.

ConnectionType string

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

EnableGlobalAcceleration bool

Enable Global Acceleration. Type: Boolean. Default: false.

EnableLearnedCidrsApproval bool

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

InsideIpCidrTun1 string

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

InsideIpCidrTun2 string

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

PreSharedKeyTun1 string

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

PreSharedKeyTun2 string

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

PublicIp string

Public IP address. Example: "40.0.0.0".

RemoteAsNumber string

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

RemoteCidr string

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

RouteDomainName string

The name of a route domain, to which the vpn will be attached.

TgwName string

This parameter represents the name of an AWS TGW.

VpnId string

ID of the VPN generated by creation of the connection.

VpnTunnelDatas []AviatrixAwsTgwVpnConnVpnTunnelDataArgs

AWS TGW VPN tunnel data.

connectionName String

Unique name of the connection.

connectionType String

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enableGlobalAcceleration Boolean

Enable Global Acceleration. Type: Boolean. Default: false.

enableLearnedCidrsApproval Boolean

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

insideIpCidrTun1 String

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

insideIpCidrTun2 String

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

preSharedKeyTun1 String

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

preSharedKeyTun2 String

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

publicIp String

Public IP address. Example: "40.0.0.0".

remoteAsNumber String

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remoteCidr String

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

routeDomainName String

The name of a route domain, to which the vpn will be attached.

tgwName String

This parameter represents the name of an AWS TGW.

vpnId String

ID of the VPN generated by creation of the connection.

vpnTunnelDatas List<AviatrixAwsTgwVpnConnVpnTunnelDataArgs>

AWS TGW VPN tunnel data.

connectionName string

Unique name of the connection.

connectionType string

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enableGlobalAcceleration boolean

Enable Global Acceleration. Type: Boolean. Default: false.

enableLearnedCidrsApproval boolean

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

insideIpCidrTun1 string

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

insideIpCidrTun2 string

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

preSharedKeyTun1 string

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

preSharedKeyTun2 string

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

publicIp string

Public IP address. Example: "40.0.0.0".

remoteAsNumber string

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remoteCidr string

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

routeDomainName string

The name of a route domain, to which the vpn will be attached.

tgwName string

This parameter represents the name of an AWS TGW.

vpnId string

ID of the VPN generated by creation of the connection.

vpnTunnelDatas AviatrixAwsTgwVpnConnVpnTunnelDataArgs[]

AWS TGW VPN tunnel data.

connection_name str

Unique name of the connection.

connection_type str

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enable_global_acceleration bool

Enable Global Acceleration. Type: Boolean. Default: false.

enable_learned_cidrs_approval bool

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

inside_ip_cidr_tun1 str

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

inside_ip_cidr_tun2 str

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

pre_shared_key_tun1 str

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

pre_shared_key_tun2 str

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

public_ip str

Public IP address. Example: "40.0.0.0".

remote_as_number str

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remote_cidr str

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

route_domain_name str

The name of a route domain, to which the vpn will be attached.

tgw_name str

This parameter represents the name of an AWS TGW.

vpn_id str

ID of the VPN generated by creation of the connection.

vpn_tunnel_datas Sequence[AviatrixAwsTgwVpnConnVpnTunnelDataArgs]

AWS TGW VPN tunnel data.

connectionName String

Unique name of the connection.

connectionType String

Connection type. Valid values: 'dynamic', 'static'. 'dynamic' stands for a BGP VPN connection; 'static' stands for a static VPN connection. Default value: 'dynamic'.

enableGlobalAcceleration Boolean

Enable Global Acceleration. Type: Boolean. Default: false.

enableLearnedCidrsApproval Boolean

Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.

insideIpCidrTun1 String

Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.

insideIpCidrTun2 String

Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.

preSharedKeyTun1 String

Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

preSharedKeyTun2 String

Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.

publicIp String

Public IP address. Example: "40.0.0.0".

remoteAsNumber String

AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.

remoteCidr String

Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.

routeDomainName String

The name of a route domain, to which the vpn will be attached.

tgwName String

This parameter represents the name of an AWS TGW.

vpnId String

ID of the VPN generated by creation of the connection.

vpnTunnelDatas List<Property Map>

AWS TGW VPN tunnel data.

Supporting Types

AviatrixAwsTgwVpnConnVpnTunnelData

Import

aws_tgw_vpn_conn can be imported using the tgw_name and vpn_id, e.g.

 $ pulumi import aviatrix:index/aviatrixAwsTgwVpnConn:AviatrixAwsTgwVpnConn test tgw_name~vpn_id

Package Details

Repository
aviatrix astipkovits/pulumi-aviatrix
License
Apache-2.0
Notes

This Pulumi package is based on the aviatrix Terraform Provider.