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

aviatrix.AviatrixAwsPeer

Explore with Pulumi AI

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

    The aviatrix_aws_peer resource allows the creation and management of Aviatrix-created native AWS intra and inter-region VPC peerings.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix AWS Peering
        var testAwspeer = new Aviatrix.AviatrixAwsPeer("testAwspeer", new()
        {
            AccountName1 = "test1-account",
            AccountName2 = "test2-account",
            RtbList1s = new[]
            {
                "rtb-abcd1234",
            },
            RtbList2s = new[]
            {
                "rtb-wxyz5678",
            },
            VpcId1 = "vpc-abcd1234",
            VpcId2 = "vpc-rdef3333",
            VpcReg1 = "us-east-1",
            VpcReg2 = "us-west-1",
        });
    
    });
    
    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.NewAviatrixAwsPeer(ctx, "testAwspeer", &aviatrix.AviatrixAwsPeerArgs{
    			AccountName1: pulumi.String("test1-account"),
    			AccountName2: pulumi.String("test2-account"),
    			RtbList1s: pulumi.StringArray{
    				pulumi.String("rtb-abcd1234"),
    			},
    			RtbList2s: pulumi.StringArray{
    				pulumi.String("rtb-wxyz5678"),
    			},
    			VpcId1:  pulumi.String("vpc-abcd1234"),
    			VpcId2:  pulumi.String("vpc-rdef3333"),
    			VpcReg1: pulumi.String("us-east-1"),
    			VpcReg2: pulumi.String("us-west-1"),
    		})
    		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.AviatrixAwsPeer;
    import com.pulumi.aviatrix.AviatrixAwsPeerArgs;
    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 testAwspeer = new AviatrixAwsPeer("testAwspeer", AviatrixAwsPeerArgs.builder()        
                .accountName1("test1-account")
                .accountName2("test2-account")
                .rtbList1s("rtb-abcd1234")
                .rtbList2s("rtb-wxyz5678")
                .vpcId1("vpc-abcd1234")
                .vpcId2("vpc-rdef3333")
                .vpcReg1("us-east-1")
                .vpcReg2("us-west-1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix AWS Peering
    test_awspeer = aviatrix.AviatrixAwsPeer("testAwspeer",
        account_name1="test1-account",
        account_name2="test2-account",
        rtb_list1s=["rtb-abcd1234"],
        rtb_list2s=["rtb-wxyz5678"],
        vpc_id1="vpc-abcd1234",
        vpc_id2="vpc-rdef3333",
        vpc_reg1="us-east-1",
        vpc_reg2="us-west-1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Create an Aviatrix AWS Peering
    const testAwspeer = new aviatrix.AviatrixAwsPeer("test_awspeer", {
        accountName1: "test1-account",
        accountName2: "test2-account",
        rtbList1s: ["rtb-abcd1234"],
        rtbList2s: ["rtb-wxyz5678"],
        vpcId1: "vpc-abcd1234",
        vpcId2: "vpc-rdef3333",
        vpcReg1: "us-east-1",
        vpcReg2: "us-west-1",
    });
    
    resources:
      # Create an Aviatrix AWS Peering
      testAwspeer:
        type: aviatrix:AviatrixAwsPeer
        properties:
          accountName1: test1-account
          accountName2: test2-account
          rtbList1s:
            - rtb-abcd1234
          rtbList2s:
            - rtb-wxyz5678
          vpcId1: vpc-abcd1234
          vpcId2: vpc-rdef3333
          vpcReg1: us-east-1
          vpcReg2: us-west-1
    

    Create AviatrixAwsPeer Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AviatrixAwsPeer(name: string, args: AviatrixAwsPeerArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixAwsPeer(resource_name: str,
                        args: AviatrixAwsPeerArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AviatrixAwsPeer(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        account_name1: Optional[str] = None,
                        account_name2: Optional[str] = None,
                        vpc_id1: Optional[str] = None,
                        vpc_id2: Optional[str] = None,
                        vpc_reg1: Optional[str] = None,
                        vpc_reg2: Optional[str] = None,
                        rtb_list1s: Optional[Sequence[str]] = None,
                        rtb_list2s: Optional[Sequence[str]] = None)
    func NewAviatrixAwsPeer(ctx *Context, name string, args AviatrixAwsPeerArgs, opts ...ResourceOption) (*AviatrixAwsPeer, error)
    public AviatrixAwsPeer(string name, AviatrixAwsPeerArgs args, CustomResourceOptions? opts = null)
    public AviatrixAwsPeer(String name, AviatrixAwsPeerArgs args)
    public AviatrixAwsPeer(String name, AviatrixAwsPeerArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixAwsPeer
    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 AviatrixAwsPeerArgs
    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 AviatrixAwsPeerArgs
    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 AviatrixAwsPeerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixAwsPeerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixAwsPeerArgs
    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 aviatrixAwsPeerResource = new Aviatrix.AviatrixAwsPeer("aviatrixAwsPeerResource", new()
    {
        AccountName1 = "string",
        AccountName2 = "string",
        VpcId1 = "string",
        VpcId2 = "string",
        VpcReg1 = "string",
        VpcReg2 = "string",
        RtbList1s = new[]
        {
            "string",
        },
        RtbList2s = new[]
        {
            "string",
        },
    });
    
    example, err := aviatrix.NewAviatrixAwsPeer(ctx, "aviatrixAwsPeerResource", &aviatrix.AviatrixAwsPeerArgs{
    	AccountName1: pulumi.String("string"),
    	AccountName2: pulumi.String("string"),
    	VpcId1:       pulumi.String("string"),
    	VpcId2:       pulumi.String("string"),
    	VpcReg1:      pulumi.String("string"),
    	VpcReg2:      pulumi.String("string"),
    	RtbList1s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RtbList2s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var aviatrixAwsPeerResource = new AviatrixAwsPeer("aviatrixAwsPeerResource", AviatrixAwsPeerArgs.builder()
        .accountName1("string")
        .accountName2("string")
        .vpcId1("string")
        .vpcId2("string")
        .vpcReg1("string")
        .vpcReg2("string")
        .rtbList1s("string")
        .rtbList2s("string")
        .build());
    
    aviatrix_aws_peer_resource = aviatrix.AviatrixAwsPeer("aviatrixAwsPeerResource",
        account_name1="string",
        account_name2="string",
        vpc_id1="string",
        vpc_id2="string",
        vpc_reg1="string",
        vpc_reg2="string",
        rtb_list1s=["string"],
        rtb_list2s=["string"])
    
    const aviatrixAwsPeerResource = new aviatrix.AviatrixAwsPeer("aviatrixAwsPeerResource", {
        accountName1: "string",
        accountName2: "string",
        vpcId1: "string",
        vpcId2: "string",
        vpcReg1: "string",
        vpcReg2: "string",
        rtbList1s: ["string"],
        rtbList2s: ["string"],
    });
    
    type: aviatrix:AviatrixAwsPeer
    properties:
        accountName1: string
        accountName2: string
        rtbList1s:
            - string
        rtbList2s:
            - string
        vpcId1: string
        vpcId2: string
        vpcReg1: string
        vpcReg2: string
    

    AviatrixAwsPeer 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 AviatrixAwsPeer resource accepts the following input properties:

    AccountName1 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    AccountName2 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    VpcId1 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcId2 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcReg1 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    VpcReg2 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    RtbList1s List<string>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    RtbList2s List<string>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    AccountName1 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    AccountName2 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    VpcId1 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcId2 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcReg1 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    VpcReg2 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    RtbList1s []string
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    RtbList2s []string
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    accountName1 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    accountName2 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    vpcId1 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcId2 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcReg1 String
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpcReg2 String
    Region of AWS cloud. Example: AWS: "us-east-1".
    rtbList1s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtbList2s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    accountName1 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    accountName2 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    vpcId1 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcId2 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcReg1 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpcReg2 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    rtbList1s string[]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtbList2s string[]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    account_name1 str
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    account_name2 str
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    vpc_id1 str
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpc_id2 str
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpc_reg1 str
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpc_reg2 str
    Region of AWS cloud. Example: AWS: "us-east-1".
    rtb_list1s Sequence[str]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtb_list2s Sequence[str]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    accountName1 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    accountName2 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    vpcId1 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcId2 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcReg1 String
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpcReg2 String
    Region of AWS cloud. Example: AWS: "us-east-1".
    rtbList1s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtbList2s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RtbList1Outputs List<string>
    List of route table ID of vpc_id1.
    RtbList2Outputs List<string>
    List of route table ID of vpc_id2.
    Id string
    The provider-assigned unique ID for this managed resource.
    RtbList1Outputs []string
    List of route table ID of vpc_id1.
    RtbList2Outputs []string
    List of route table ID of vpc_id2.
    id String
    The provider-assigned unique ID for this managed resource.
    rtbList1Outputs List<String>
    List of route table ID of vpc_id1.
    rtbList2Outputs List<String>
    List of route table ID of vpc_id2.
    id string
    The provider-assigned unique ID for this managed resource.
    rtbList1Outputs string[]
    List of route table ID of vpc_id1.
    rtbList2Outputs string[]
    List of route table ID of vpc_id2.
    id str
    The provider-assigned unique ID for this managed resource.
    rtb_list1_outputs Sequence[str]
    List of route table ID of vpc_id1.
    rtb_list2_outputs Sequence[str]
    List of route table ID of vpc_id2.
    id String
    The provider-assigned unique ID for this managed resource.
    rtbList1Outputs List<String>
    List of route table ID of vpc_id1.
    rtbList2Outputs List<String>
    List of route table ID of vpc_id2.

    Look up Existing AviatrixAwsPeer Resource

    Get an existing AviatrixAwsPeer 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?: AviatrixAwsPeerState, opts?: CustomResourceOptions): AviatrixAwsPeer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_name1: Optional[str] = None,
            account_name2: Optional[str] = None,
            rtb_list1_outputs: Optional[Sequence[str]] = None,
            rtb_list1s: Optional[Sequence[str]] = None,
            rtb_list2_outputs: Optional[Sequence[str]] = None,
            rtb_list2s: Optional[Sequence[str]] = None,
            vpc_id1: Optional[str] = None,
            vpc_id2: Optional[str] = None,
            vpc_reg1: Optional[str] = None,
            vpc_reg2: Optional[str] = None) -> AviatrixAwsPeer
    func GetAviatrixAwsPeer(ctx *Context, name string, id IDInput, state *AviatrixAwsPeerState, opts ...ResourceOption) (*AviatrixAwsPeer, error)
    public static AviatrixAwsPeer Get(string name, Input<string> id, AviatrixAwsPeerState? state, CustomResourceOptions? opts = null)
    public static AviatrixAwsPeer get(String name, Output<String> id, AviatrixAwsPeerState 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:
    AccountName1 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    AccountName2 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    RtbList1Outputs List<string>
    List of route table ID of vpc_id1.
    RtbList1s List<string>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    RtbList2Outputs List<string>
    List of route table ID of vpc_id2.
    RtbList2s List<string>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    VpcId1 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcId2 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcReg1 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    VpcReg2 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    AccountName1 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    AccountName2 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    RtbList1Outputs []string
    List of route table ID of vpc_id1.
    RtbList1s []string
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    RtbList2Outputs []string
    List of route table ID of vpc_id2.
    RtbList2s []string
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    VpcId1 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcId2 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    VpcReg1 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    VpcReg2 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    accountName1 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    accountName2 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    rtbList1Outputs List<String>
    List of route table ID of vpc_id1.
    rtbList1s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtbList2Outputs List<String>
    List of route table ID of vpc_id2.
    rtbList2s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    vpcId1 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcId2 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcReg1 String
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpcReg2 String
    Region of AWS cloud. Example: AWS: "us-east-1".
    accountName1 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    accountName2 string
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    rtbList1Outputs string[]
    List of route table ID of vpc_id1.
    rtbList1s string[]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtbList2Outputs string[]
    List of route table ID of vpc_id2.
    rtbList2s string[]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    vpcId1 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcId2 string
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcReg1 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpcReg2 string
    Region of AWS cloud. Example: AWS: "us-east-1".
    account_name1 str
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    account_name2 str
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    rtb_list1_outputs Sequence[str]
    List of route table ID of vpc_id1.
    rtb_list1s Sequence[str]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtb_list2_outputs Sequence[str]
    List of route table ID of vpc_id2.
    rtb_list2s Sequence[str]
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    vpc_id1 str
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpc_id2 str
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpc_reg1 str
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpc_reg2 str
    Region of AWS cloud. Example: AWS: "us-east-1".
    accountName1 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    accountName2 String
    This parameter represents the name of an AWS Cloud-Account in Aviatrix controller.
    rtbList1Outputs List<String>
    List of route table ID of vpc_id1.
    rtbList1s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    rtbList2Outputs List<String>
    List of route table ID of vpc_id2.
    rtbList2s List<String>
    List of Route table ID. Valid Values: ["all"], ["rtb-abcd1234"] OR ["rtb-abcd1234,rtb-wxyz5678"].
    vpcId1 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcId2 String
    VPC ID of AWS cloud. Example: AWS: "vpc-abcd1234".
    vpcReg1 String
    Region of AWS cloud. Example: AWS: "us-east-1".
    vpcReg2 String
    Region of AWS cloud. Example: AWS: "us-east-1".

    Import

    aws_peer can be imported using the vpc_id1 and vpc_id2, e.g.

     $ pulumi import aviatrix:index/aviatrixAwsPeer:AviatrixAwsPeer test vpc_id1~vpc_id2
    

    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