aviatrix.AviatrixVgwConn
Explore with Pulumi AI
The aviatrix_vgw_conn resource manages the connection between the Aviatrix transit gateway and AWS VGW for purposes of Transit Network.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create an Aviatrix VGW Connection
var testVgwConn = new Aviatrix.AviatrixVgwConn("testVgwConn", new()
{
BgpLocalAsNum = "65001",
BgpVgwAccount = "dev-account-1",
BgpVgwId = "vgw-abcd1234",
BgpVgwRegion = "us-east-1",
ConnName = "my-connection-vgw-to-tgw",
GwName = "my-transit-gw",
PrependAsPaths = new[]
{
"65001",
"65001",
},
VpcId = "vpc-abcd1234",
});
});
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.NewAviatrixVgwConn(ctx, "testVgwConn", &aviatrix.AviatrixVgwConnArgs{
BgpLocalAsNum: pulumi.String("65001"),
BgpVgwAccount: pulumi.String("dev-account-1"),
BgpVgwId: pulumi.String("vgw-abcd1234"),
BgpVgwRegion: pulumi.String("us-east-1"),
ConnName: pulumi.String("my-connection-vgw-to-tgw"),
GwName: pulumi.String("my-transit-gw"),
PrependAsPaths: pulumi.StringArray{
pulumi.String("65001"),
pulumi.String("65001"),
},
VpcId: pulumi.String("vpc-abcd1234"),
})
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.AviatrixVgwConn;
import com.pulumi.aviatrix.AviatrixVgwConnArgs;
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 testVgwConn = new AviatrixVgwConn("testVgwConn", AviatrixVgwConnArgs.builder()
.bgpLocalAsNum("65001")
.bgpVgwAccount("dev-account-1")
.bgpVgwId("vgw-abcd1234")
.bgpVgwRegion("us-east-1")
.connName("my-connection-vgw-to-tgw")
.gwName("my-transit-gw")
.prependAsPaths(
"65001",
"65001")
.vpcId("vpc-abcd1234")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create an Aviatrix VGW Connection
test_vgw_conn = aviatrix.AviatrixVgwConn("testVgwConn",
bgp_local_as_num="65001",
bgp_vgw_account="dev-account-1",
bgp_vgw_id="vgw-abcd1234",
bgp_vgw_region="us-east-1",
conn_name="my-connection-vgw-to-tgw",
gw_name="my-transit-gw",
prepend_as_paths=[
"65001",
"65001",
],
vpc_id="vpc-abcd1234")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create an Aviatrix VGW Connection
const testVgwConn = new aviatrix.AviatrixVgwConn("test_vgw_conn", {
bgpLocalAsNum: "65001",
bgpVgwAccount: "dev-account-1",
bgpVgwId: "vgw-abcd1234",
bgpVgwRegion: "us-east-1",
connName: "my-connection-vgw-to-tgw",
gwName: "my-transit-gw",
prependAsPaths: [
"65001",
"65001",
],
vpcId: "vpc-abcd1234",
});
resources:
# Create an Aviatrix VGW Connection
testVgwConn:
type: aviatrix:AviatrixVgwConn
properties:
bgpLocalAsNum: '65001'
bgpVgwAccount: dev-account-1
bgpVgwId: vgw-abcd1234
bgpVgwRegion: us-east-1
connName: my-connection-vgw-to-tgw
gwName: my-transit-gw
prependAsPaths:
- '65001'
- '65001'
vpcId: vpc-abcd1234
Create AviatrixVgwConn Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixVgwConn(name: string, args: AviatrixVgwConnArgs, opts?: CustomResourceOptions);
@overload
def AviatrixVgwConn(resource_name: str,
args: AviatrixVgwConnArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixVgwConn(resource_name: str,
opts: Optional[ResourceOptions] = None,
bgp_local_as_num: Optional[str] = None,
bgp_vgw_account: Optional[str] = None,
bgp_vgw_id: Optional[str] = None,
bgp_vgw_region: Optional[str] = None,
conn_name: Optional[str] = None,
gw_name: Optional[str] = None,
vpc_id: Optional[str] = None,
enable_event_triggered_ha: Optional[bool] = None,
enable_learned_cidrs_approval: Optional[bool] = None,
manual_bgp_advertised_cidrs: Optional[Sequence[str]] = None,
prepend_as_paths: Optional[Sequence[str]] = None)
func NewAviatrixVgwConn(ctx *Context, name string, args AviatrixVgwConnArgs, opts ...ResourceOption) (*AviatrixVgwConn, error)
public AviatrixVgwConn(string name, AviatrixVgwConnArgs args, CustomResourceOptions? opts = null)
public AviatrixVgwConn(String name, AviatrixVgwConnArgs args)
public AviatrixVgwConn(String name, AviatrixVgwConnArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixVgwConn
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 AviatrixVgwConnArgs
- 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 AviatrixVgwConnArgs
- 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 AviatrixVgwConnArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixVgwConnArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixVgwConnArgs
- 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 aviatrixVgwConnResource = new Aviatrix.AviatrixVgwConn("aviatrixVgwConnResource", new()
{
BgpLocalAsNum = "string",
BgpVgwAccount = "string",
BgpVgwId = "string",
BgpVgwRegion = "string",
ConnName = "string",
GwName = "string",
VpcId = "string",
EnableEventTriggeredHa = false,
EnableLearnedCidrsApproval = false,
ManualBgpAdvertisedCidrs = new[]
{
"string",
},
PrependAsPaths = new[]
{
"string",
},
});
example, err := aviatrix.NewAviatrixVgwConn(ctx, "aviatrixVgwConnResource", &aviatrix.AviatrixVgwConnArgs{
BgpLocalAsNum: pulumi.String("string"),
BgpVgwAccount: pulumi.String("string"),
BgpVgwId: pulumi.String("string"),
BgpVgwRegion: pulumi.String("string"),
ConnName: pulumi.String("string"),
GwName: pulumi.String("string"),
VpcId: pulumi.String("string"),
EnableEventTriggeredHa: pulumi.Bool(false),
EnableLearnedCidrsApproval: pulumi.Bool(false),
ManualBgpAdvertisedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
PrependAsPaths: pulumi.StringArray{
pulumi.String("string"),
},
})
var aviatrixVgwConnResource = new AviatrixVgwConn("aviatrixVgwConnResource", AviatrixVgwConnArgs.builder()
.bgpLocalAsNum("string")
.bgpVgwAccount("string")
.bgpVgwId("string")
.bgpVgwRegion("string")
.connName("string")
.gwName("string")
.vpcId("string")
.enableEventTriggeredHa(false)
.enableLearnedCidrsApproval(false)
.manualBgpAdvertisedCidrs("string")
.prependAsPaths("string")
.build());
aviatrix_vgw_conn_resource = aviatrix.AviatrixVgwConn("aviatrixVgwConnResource",
bgp_local_as_num="string",
bgp_vgw_account="string",
bgp_vgw_id="string",
bgp_vgw_region="string",
conn_name="string",
gw_name="string",
vpc_id="string",
enable_event_triggered_ha=False,
enable_learned_cidrs_approval=False,
manual_bgp_advertised_cidrs=["string"],
prepend_as_paths=["string"])
const aviatrixVgwConnResource = new aviatrix.AviatrixVgwConn("aviatrixVgwConnResource", {
bgpLocalAsNum: "string",
bgpVgwAccount: "string",
bgpVgwId: "string",
bgpVgwRegion: "string",
connName: "string",
gwName: "string",
vpcId: "string",
enableEventTriggeredHa: false,
enableLearnedCidrsApproval: false,
manualBgpAdvertisedCidrs: ["string"],
prependAsPaths: ["string"],
});
type: aviatrix:AviatrixVgwConn
properties:
bgpLocalAsNum: string
bgpVgwAccount: string
bgpVgwId: string
bgpVgwRegion: string
connName: string
enableEventTriggeredHa: false
enableLearnedCidrsApproval: false
gwName: string
manualBgpAdvertisedCidrs:
- string
prependAsPaths:
- string
vpcId: string
AviatrixVgwConn 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 AviatrixVgwConn resource accepts the following input properties:
- Bgp
Local stringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- Bgp
Vgw stringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- Bgp
Vgw stringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- Bgp
Vgw stringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- Conn
Name string - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- Gw
Name string - Name of the Transit Gateway. Example: "my-transit-gw".
- Vpc
Id string - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- Enable
Event boolTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Learned boolCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- Manual
Bgp List<string>Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- Prepend
As List<string>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- Bgp
Local stringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- Bgp
Vgw stringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- Bgp
Vgw stringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- Bgp
Vgw stringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- Conn
Name string - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- Gw
Name string - Name of the Transit Gateway. Example: "my-transit-gw".
- Vpc
Id string - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- Enable
Event boolTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Learned boolCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- Manual
Bgp []stringAdvertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- Prepend
As []stringPaths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- bgp
Local StringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp
Vgw StringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp
Vgw StringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp
Vgw StringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn
Name String - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- gw
Name String - Name of the Transit Gateway. Example: "my-transit-gw".
- vpc
Id String - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- enable
Event BooleanTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Learned BooleanCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- manual
Bgp List<String>Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- bgp
Local stringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp
Vgw stringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp
Vgw stringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp
Vgw stringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn
Name string - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- gw
Name string - Name of the Transit Gateway. Example: "my-transit-gw".
- vpc
Id string - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- enable
Event booleanTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Learned booleanCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- manual
Bgp string[]Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend
As string[]Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- bgp_
local_ stras_ num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp_
vgw_ straccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp_
vgw_ strid - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp_
vgw_ strregion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn_
name str - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- gw_
name str - Name of the Transit Gateway. Example: "my-transit-gw".
- vpc_
id str - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- enable_
event_ booltriggered_ ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
learned_ boolcidrs_ approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- manual_
bgp_ Sequence[str]advertised_ cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend_
as_ Sequence[str]paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- bgp
Local StringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp
Vgw StringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp
Vgw StringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp
Vgw StringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn
Name String - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- gw
Name String - Name of the Transit Gateway. Example: "my-transit-gw".
- vpc
Id String - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- enable
Event BooleanTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Learned BooleanCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- manual
Bgp List<String>Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixVgwConn resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AviatrixVgwConn Resource
Get an existing AviatrixVgwConn 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?: AviatrixVgwConnState, opts?: CustomResourceOptions): AviatrixVgwConn
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bgp_local_as_num: Optional[str] = None,
bgp_vgw_account: Optional[str] = None,
bgp_vgw_id: Optional[str] = None,
bgp_vgw_region: Optional[str] = None,
conn_name: Optional[str] = None,
enable_event_triggered_ha: Optional[bool] = None,
enable_learned_cidrs_approval: Optional[bool] = None,
gw_name: Optional[str] = None,
manual_bgp_advertised_cidrs: Optional[Sequence[str]] = None,
prepend_as_paths: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None) -> AviatrixVgwConn
func GetAviatrixVgwConn(ctx *Context, name string, id IDInput, state *AviatrixVgwConnState, opts ...ResourceOption) (*AviatrixVgwConn, error)
public static AviatrixVgwConn Get(string name, Input<string> id, AviatrixVgwConnState? state, CustomResourceOptions? opts = null)
public static AviatrixVgwConn get(String name, Output<String> id, AviatrixVgwConnState 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.
- Bgp
Local stringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- Bgp
Vgw stringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- Bgp
Vgw stringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- Bgp
Vgw stringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- Conn
Name string - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- Enable
Event boolTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Learned boolCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- Gw
Name string - Name of the Transit Gateway. Example: "my-transit-gw".
- Manual
Bgp List<string>Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- Prepend
As List<string>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- Vpc
Id string - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- Bgp
Local stringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- Bgp
Vgw stringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- Bgp
Vgw stringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- Bgp
Vgw stringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- Conn
Name string - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- Enable
Event boolTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- Enable
Learned boolCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- Gw
Name string - Name of the Transit Gateway. Example: "my-transit-gw".
- Manual
Bgp []stringAdvertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- Prepend
As []stringPaths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- Vpc
Id string - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- bgp
Local StringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp
Vgw StringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp
Vgw StringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp
Vgw StringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn
Name String - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- enable
Event BooleanTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Learned BooleanCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- gw
Name String - Name of the Transit Gateway. Example: "my-transit-gw".
- manual
Bgp List<String>Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- vpc
Id String - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- bgp
Local stringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp
Vgw stringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp
Vgw stringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp
Vgw stringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn
Name string - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- enable
Event booleanTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Learned booleanCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- gw
Name string - Name of the Transit Gateway. Example: "my-transit-gw".
- manual
Bgp string[]Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend
As string[]Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- vpc
Id string - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- bgp_
local_ stras_ num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp_
vgw_ straccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp_
vgw_ strid - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp_
vgw_ strregion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn_
name str - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- enable_
event_ booltriggered_ ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable_
learned_ boolcidrs_ approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- gw_
name str - Name of the Transit Gateway. Example: "my-transit-gw".
- manual_
bgp_ Sequence[str]advertised_ cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend_
as_ Sequence[str]paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- vpc_
id str - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
- bgp
Local StringAs Num - BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
- bgp
Vgw StringAccount - Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
- bgp
Vgw StringId - ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
- bgp
Vgw StringRegion - Region of AWS VGW that will be used for this connection. Example: "us-east-1".
- conn
Name String - The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
- enable
Event BooleanTriggered Ha - Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
- enable
Learned BooleanCidrs Approval - Enable learned CIDRs approval for the connection. Requires the transit_gateway's 'learned_cidrs_approval_mode' attribute be set to 'connection'. Valid values: true, false. Default value: false. Available as of provider version R2.18+.
- gw
Name String - Name of the Transit Gateway. Example: "my-transit-gw".
- manual
Bgp List<String>Advertised Cidrs - Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
- vpc
Id String - VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
Import
vgw_conn can be imported using the conn_name
and vpc_id
, e.g.
$ pulumi import aviatrix:index/aviatrixVgwConn:AviatrixVgwConn test conn_name~vpc_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.