1. Packages
  2. Aviatrix
  3. API Docs
  4. AviatrixVgwConn
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.AviatrixVgwConn

Explore with Pulumi AI

aviatrix logo
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

    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:

    BgpLocalAsNum string
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    BgpVgwAccount string
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    BgpVgwId string
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    BgpVgwRegion string
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    ConnName string
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    GwName string
    Name of the Transit Gateway. Example: "my-transit-gw".
    VpcId string
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    EnableEventTriggeredHa bool
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    EnableLearnedCidrsApproval bool
    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+.
    ManualBgpAdvertisedCidrs List<string>
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    PrependAsPaths List<string>
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    BgpLocalAsNum string
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    BgpVgwAccount string
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    BgpVgwId string
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    BgpVgwRegion string
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    ConnName string
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    GwName string
    Name of the Transit Gateway. Example: "my-transit-gw".
    VpcId string
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    EnableEventTriggeredHa bool
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    EnableLearnedCidrsApproval bool
    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+.
    ManualBgpAdvertisedCidrs []string
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    PrependAsPaths []string
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    bgpLocalAsNum String
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgpVgwAccount String
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgpVgwId String
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgpVgwRegion String
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    connName String
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    gwName String
    Name of the Transit Gateway. Example: "my-transit-gw".
    vpcId String
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    enableEventTriggeredHa Boolean
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enableLearnedCidrsApproval Boolean
    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+.
    manualBgpAdvertisedCidrs List<String>
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prependAsPaths List<String>
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    bgpLocalAsNum string
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgpVgwAccount string
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgpVgwId string
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgpVgwRegion string
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    connName string
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    gwName string
    Name of the Transit Gateway. Example: "my-transit-gw".
    vpcId string
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    enableEventTriggeredHa boolean
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enableLearnedCidrsApproval boolean
    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+.
    manualBgpAdvertisedCidrs string[]
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prependAsPaths string[]
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    bgp_local_as_num str
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgp_vgw_account str
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgp_vgw_id str
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgp_vgw_region str
    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_triggered_ha bool
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enable_learned_cidrs_approval bool
    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_advertised_cidrs Sequence[str]
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prepend_as_paths Sequence[str]
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    bgpLocalAsNum String
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgpVgwAccount String
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgpVgwId String
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgpVgwRegion String
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    connName String
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    gwName String
    Name of the Transit Gateway. Example: "my-transit-gw".
    vpcId String
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    enableEventTriggeredHa Boolean
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enableLearnedCidrsApproval Boolean
    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+.
    manualBgpAdvertisedCidrs List<String>
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prependAsPaths List<String>
    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.
    The following state arguments are supported:
    BgpLocalAsNum string
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    BgpVgwAccount string
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    BgpVgwId string
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    BgpVgwRegion string
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    ConnName string
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    EnableEventTriggeredHa bool
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    EnableLearnedCidrsApproval bool
    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+.
    GwName string
    Name of the Transit Gateway. Example: "my-transit-gw".
    ManualBgpAdvertisedCidrs List<string>
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    PrependAsPaths List<string>
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    VpcId string
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    BgpLocalAsNum string
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    BgpVgwAccount string
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    BgpVgwId string
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    BgpVgwRegion string
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    ConnName string
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    EnableEventTriggeredHa bool
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    EnableLearnedCidrsApproval bool
    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+.
    GwName string
    Name of the Transit Gateway. Example: "my-transit-gw".
    ManualBgpAdvertisedCidrs []string
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    PrependAsPaths []string
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    VpcId string
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    bgpLocalAsNum String
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgpVgwAccount String
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgpVgwId String
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgpVgwRegion String
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    connName String
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    enableEventTriggeredHa Boolean
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enableLearnedCidrsApproval Boolean
    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+.
    gwName String
    Name of the Transit Gateway. Example: "my-transit-gw".
    manualBgpAdvertisedCidrs List<String>
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prependAsPaths List<String>
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    vpcId String
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    bgpLocalAsNum string
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgpVgwAccount string
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgpVgwId string
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgpVgwRegion string
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    connName string
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    enableEventTriggeredHa boolean
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enableLearnedCidrsApproval boolean
    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+.
    gwName string
    Name of the Transit Gateway. Example: "my-transit-gw".
    manualBgpAdvertisedCidrs string[]
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prependAsPaths string[]
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    vpcId string
    VPC ID where the Transit Gateway is located. Example: AWS: "vpc-abcd1234".
    bgp_local_as_num str
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgp_vgw_account str
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgp_vgw_id str
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgp_vgw_region str
    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_triggered_ha bool
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enable_learned_cidrs_approval bool
    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_advertised_cidrs Sequence[str]
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prepend_as_paths Sequence[str]
    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".
    bgpLocalAsNum String
    BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".
    bgpVgwAccount String
    Cloud Account used to create the AWS VGW that will be used for this connection. Example: "dev-account-1".
    bgpVgwId String
    ID of AWS VGW that will be used for this connection. Example: "vgw-abcd1234".
    bgpVgwRegion String
    Region of AWS VGW that will be used for this connection. Example: "us-east-1".
    connName String
    The name of for Transit GW to VGW connection connection which is going to be created. Example: "my-connection-vgw-to-tgw".
    enableEventTriggeredHa Boolean
    Enable Event Triggered HA. Default value: false. Valid values: true or false. Available as of provider version R2.19+.
    enableLearnedCidrsApproval Boolean
    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+.
    gwName String
    Name of the Transit Gateway. Example: "my-transit-gw".
    manualBgpAdvertisedCidrs List<String>
    Configure manual BGP advertised CIDRs for this connection. Available as of provider version R2.18+.
    prependAsPaths List<String>
    Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Available as of provider version R2.19.2.
    vpcId 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.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix