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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixAwsTgwVpnConn(name: string, args: AviatrixAwsTgwVpnConnArgs, opts?: CustomResourceOptions);
@overload
def AviatrixAwsTgwVpnConn(resource_name: str,
args: AviatrixAwsTgwVpnConnArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixAwsTgwVpnConn(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_name: Optional[str] = None,
tgw_name: Optional[str] = None,
route_domain_name: Optional[str] = None,
public_ip: Optional[str] = None,
pre_shared_key_tun1: Optional[str] = None,
inside_ip_cidr_tun2: Optional[str] = None,
inside_ip_cidr_tun1: Optional[str] = None,
pre_shared_key_tun2: Optional[str] = None,
enable_learned_cidrs_approval: Optional[bool] = None,
remote_as_number: Optional[str] = None,
remote_cidr: Optional[str] = None,
enable_global_acceleration: Optional[bool] = None,
connection_type: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var aviatrixAwsTgwVpnConnResource = new Aviatrix.AviatrixAwsTgwVpnConn("aviatrixAwsTgwVpnConnResource", new()
{
ConnectionName = "string",
TgwName = "string",
RouteDomainName = "string",
PublicIp = "string",
PreSharedKeyTun1 = "string",
InsideIpCidrTun2 = "string",
InsideIpCidrTun1 = "string",
PreSharedKeyTun2 = "string",
EnableLearnedCidrsApproval = false,
RemoteAsNumber = "string",
RemoteCidr = "string",
EnableGlobalAcceleration = false,
ConnectionType = "string",
});
example, err := aviatrix.NewAviatrixAwsTgwVpnConn(ctx, "aviatrixAwsTgwVpnConnResource", &aviatrix.AviatrixAwsTgwVpnConnArgs{
ConnectionName: pulumi.String("string"),
TgwName: pulumi.String("string"),
RouteDomainName: pulumi.String("string"),
PublicIp: pulumi.String("string"),
PreSharedKeyTun1: pulumi.String("string"),
InsideIpCidrTun2: pulumi.String("string"),
InsideIpCidrTun1: pulumi.String("string"),
PreSharedKeyTun2: pulumi.String("string"),
EnableLearnedCidrsApproval: pulumi.Bool(false),
RemoteAsNumber: pulumi.String("string"),
RemoteCidr: pulumi.String("string"),
EnableGlobalAcceleration: pulumi.Bool(false),
ConnectionType: pulumi.String("string"),
})
var aviatrixAwsTgwVpnConnResource = new AviatrixAwsTgwVpnConn("aviatrixAwsTgwVpnConnResource", AviatrixAwsTgwVpnConnArgs.builder()
.connectionName("string")
.tgwName("string")
.routeDomainName("string")
.publicIp("string")
.preSharedKeyTun1("string")
.insideIpCidrTun2("string")
.insideIpCidrTun1("string")
.preSharedKeyTun2("string")
.enableLearnedCidrsApproval(false)
.remoteAsNumber("string")
.remoteCidr("string")
.enableGlobalAcceleration(false)
.connectionType("string")
.build());
aviatrix_aws_tgw_vpn_conn_resource = aviatrix.AviatrixAwsTgwVpnConn("aviatrixAwsTgwVpnConnResource",
connection_name="string",
tgw_name="string",
route_domain_name="string",
public_ip="string",
pre_shared_key_tun1="string",
inside_ip_cidr_tun2="string",
inside_ip_cidr_tun1="string",
pre_shared_key_tun2="string",
enable_learned_cidrs_approval=False,
remote_as_number="string",
remote_cidr="string",
enable_global_acceleration=False,
connection_type="string")
const aviatrixAwsTgwVpnConnResource = new aviatrix.AviatrixAwsTgwVpnConn("aviatrixAwsTgwVpnConnResource", {
connectionName: "string",
tgwName: "string",
routeDomainName: "string",
publicIp: "string",
preSharedKeyTun1: "string",
insideIpCidrTun2: "string",
insideIpCidrTun1: "string",
preSharedKeyTun2: "string",
enableLearnedCidrsApproval: false,
remoteAsNumber: "string",
remoteCidr: "string",
enableGlobalAcceleration: false,
connectionType: "string",
});
type: aviatrix:AviatrixAwsTgwVpnConn
properties:
connectionName: string
connectionType: string
enableGlobalAcceleration: false
enableLearnedCidrsApproval: false
insideIpCidrTun1: string
insideIpCidrTun2: string
preSharedKeyTun1: string
preSharedKeyTun2: string
publicIp: string
remoteAsNumber: string
remoteCidr: string
routeDomainName: string
tgwName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AviatrixAwsTgwVpnConn resource accepts the following input properties:
- Connection
Name string - Unique name of the connection.
- Public
Ip string - Public IP address. Example: "40.0.0.0".
- Route
Domain stringName - The name of a route domain, to which the vpn will be attached.
- Tgw
Name string - This parameter represents the name of an AWS TGW.
- Connection
Type string - 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 boolAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- Enable
Learned boolCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- Inside
Ip stringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- Inside
Ip stringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- string
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- string
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- Remote
As stringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- Remote
Cidr 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 string - Unique name of the connection.
- Public
Ip string - Public IP address. Example: "40.0.0.0".
- Route
Domain stringName - The name of a route domain, to which the vpn will be attached.
- Tgw
Name string - This parameter represents the name of an AWS TGW.
- Connection
Type string - 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 boolAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- Enable
Learned boolCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- Inside
Ip stringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- Inside
Ip stringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- string
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- string
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- Remote
As stringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- Remote
Cidr 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 String - Unique name of the connection.
- public
Ip String - Public IP address. Example: "40.0.0.0".
- route
Domain StringName - The name of a route domain, to which the vpn will be attached.
- tgw
Name String - This parameter represents the name of an AWS TGW.
- connection
Type String - 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 BooleanAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside
Ip StringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside
Ip StringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- String
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- String
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- remote
As StringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- remote
Cidr 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 string - Unique name of the connection.
- public
Ip string - Public IP address. Example: "40.0.0.0".
- route
Domain stringName - The name of a route domain, to which the vpn will be attached.
- tgw
Name string - This parameter represents the name of an AWS TGW.
- connection
Type string - 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 booleanAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable
Learned booleanCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside
Ip stringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside
Ip stringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- string
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- string
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- remote
As stringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- remote
Cidr 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_ strname - 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_ boolacceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable_
learned_ boolcidrs_ approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside_
ip_ strcidr_ tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside_
ip_ strcidr_ tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- str
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- str
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- remote_
as_ strnumber - 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.
- connection
Name String - Unique name of the connection.
- public
Ip String - Public IP address. Example: "40.0.0.0".
- route
Domain StringName - The name of a route domain, to which the vpn will be attached.
- tgw
Name String - This parameter represents the name of an AWS TGW.
- connection
Type String - 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 BooleanAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside
Ip StringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside
Ip StringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- String
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- String
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- remote
As StringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- remote
Cidr 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.
- Vpn
Id string - ID of the VPN generated by creation of the connection.
- Vpn
Tunnel List<AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data> - AWS TGW VPN tunnel data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vpn
Id string - ID of the VPN generated by creation of the connection.
- Vpn
Tunnel []AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data - AWS TGW VPN tunnel data.
- id String
- The provider-assigned unique ID for this managed resource.
- vpn
Id String - ID of the VPN generated by creation of the connection.
- vpn
Tunnel List<AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data> - AWS TGW VPN tunnel data.
- id string
- The provider-assigned unique ID for this managed resource.
- vpn
Id string - ID of the VPN generated by creation of the connection.
- vpn
Tunnel AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data[] - 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_ Sequence[Aviatrixdatas Aws Tgw Vpn Conn Vpn Tunnel Data] - AWS TGW VPN tunnel data.
- id String
- The provider-assigned unique ID for this managed resource.
- vpn
Id String - ID of the VPN generated by creation of the connection.
- vpn
Tunnel List<Property Map>Datas - 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.
- Connection
Name string - Unique name of the connection.
- Connection
Type string - 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 boolAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- Enable
Learned boolCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- Inside
Ip stringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- Inside
Ip stringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- string
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- string
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- Public
Ip string - Public IP address. Example: "40.0.0.0".
- Remote
As stringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- Remote
Cidr string - Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.
- Route
Domain stringName - The name of a route domain, to which the vpn will be attached.
- Tgw
Name string - This parameter represents the name of an AWS TGW.
- Vpn
Id string - ID of the VPN generated by creation of the connection.
- Vpn
Tunnel List<AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data> - AWS TGW VPN tunnel data.
- Connection
Name string - Unique name of the connection.
- Connection
Type string - 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 boolAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- Enable
Learned boolCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- Inside
Ip stringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- Inside
Ip stringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- string
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- string
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- Public
Ip string - Public IP address. Example: "40.0.0.0".
- Remote
As stringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- Remote
Cidr string - Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.
- Route
Domain stringName - The name of a route domain, to which the vpn will be attached.
- Tgw
Name string - This parameter represents the name of an AWS TGW.
- Vpn
Id string - ID of the VPN generated by creation of the connection.
- Vpn
Tunnel []AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data Args - AWS TGW VPN tunnel data.
- connection
Name String - Unique name of the connection.
- connection
Type String - 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 BooleanAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside
Ip StringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside
Ip StringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- String
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- String
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- public
Ip String - Public IP address. Example: "40.0.0.0".
- remote
As StringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- remote
Cidr String - Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.
- route
Domain StringName - The name of a route domain, to which the vpn will be attached.
- tgw
Name String - This parameter represents the name of an AWS TGW.
- vpn
Id String - ID of the VPN generated by creation of the connection.
- vpn
Tunnel List<AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data> - AWS TGW VPN tunnel data.
- connection
Name string - Unique name of the connection.
- connection
Type string - 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 booleanAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable
Learned booleanCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside
Ip stringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside
Ip stringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- string
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- string
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- public
Ip string - Public IP address. Example: "40.0.0.0".
- remote
As stringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- remote
Cidr string - Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.
- route
Domain stringName - The name of a route domain, to which the vpn will be attached.
- tgw
Name string - This parameter represents the name of an AWS TGW.
- vpn
Id string - ID of the VPN generated by creation of the connection.
- vpn
Tunnel AviatrixDatas Aws Tgw Vpn Conn Vpn Tunnel Data[] - 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_ boolacceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable_
learned_ boolcidrs_ approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside_
ip_ strcidr_ tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside_
ip_ strcidr_ tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- str
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- 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_ strnumber - 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_ strname - 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_ Sequence[Aviatrixdatas Aws Tgw Vpn Conn Vpn Tunnel Data Args] - AWS TGW VPN tunnel data.
- connection
Name String - Unique name of the connection.
- connection
Type String - 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 BooleanAcceleration - Enable Global Acceleration. Type: Boolean. Default: false.
- enable
Learned BooleanCidrs Approval - Switch to enable/disable encrypted transit approval for AWS TGW VPN connection. Valid values: true, false. Default value: false.
- inside
Ip StringCidr Tun1 - Inside IP CIDR for Tunnel 1. A /30 CIDR in 169.254.0.0/16.
- inside
Ip StringCidr Tun2 - Inside IP CIDR for Tunnel 2. A /30 CIDR in 169.254.0.0/16.
- String
- Pre-Shared Key for Tunnel 1. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- String
- Pre-Shared Key for Tunnel 2. A 8-64 character string with alphanumeric underscore(_) and dot(.). It cannot start with 0.
- public
Ip String - Public IP address. Example: "40.0.0.0".
- remote
As StringNumber - AWS side as a number. Integer between 1-4294967294. Example: "12". Required for a dynamic VPN connection.
- remote
Cidr String - Remote CIDRs separated by ",". Example: AWS: "16.0.0.0/16,16.1.0.0/16". Required for a static VPN connection.
- route
Domain StringName - The name of a route domain, to which the vpn will be attached.
- tgw
Name String - This parameter represents the name of an AWS TGW.
- vpn
Id String - ID of the VPN generated by creation of the connection.
- vpn
Tunnel List<Property Map>Datas - AWS TGW VPN tunnel data.
Supporting Types
AviatrixAwsTgwVpnConnVpnTunnelData, AviatrixAwsTgwVpnConnVpnTunnelDataArgs
- Last
Status stringChange Time - Route
Count int - Status string
- Status
Message string - Tgw
Asn string - Tunnel
Name string - Vpn
Inside stringAddress - Vpn
Outside stringAddress
- Last
Status stringChange Time - Route
Count int - Status string
- Status
Message string - Tgw
Asn string - Tunnel
Name string - Vpn
Inside stringAddress - Vpn
Outside stringAddress
- last
Status StringChange Time - route
Count Integer - status String
- status
Message String - tgw
Asn String - tunnel
Name String - vpn
Inside StringAddress - vpn
Outside StringAddress
- last
Status stringChange Time - route
Count number - status string
- status
Message string - tgw
Asn string - tunnel
Name string - vpn
Inside stringAddress - vpn
Outside stringAddress
- last_
status_ strchange_ time - route_
count int - status str
- status_
message str - tgw_
asn str - tunnel_
name str - vpn_
inside_ straddress - vpn_
outside_ straddress
- last
Status StringChange Time - route
Count Number - status String
- status
Message String - tgw
Asn String - tunnel
Name String - vpn
Inside StringAddress - vpn
Outside StringAddress
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.