aviatrix logo
Aviatrix v0.0.10, Jan 21 23

aviatrix.AviatrixAwsTgw

Explore with Pulumi AI

The aviatrix_aws_tgw resource allows the creation and management of Aviatrix-created AWS TGWs.

NOTE: If you are planning to attach VPCs to the aviatrix_aws_tgw resource and anticipate updating it often and/or using advanced options such as customized route advertisement, we highly recommend managing those VPCs outside this resource by setting manage_vpc_attachment to false and using the aviatrix_aws_tgw_vpc_attachment resource instead of the in-line attached_vpc {} block.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    // Create an Aviatrix AWS TGW
    var testAwsTgw = new Aviatrix.AviatrixAwsTgw("testAwsTgw", new()
    {
        AccountName = "devops",
        AwsSideAsNumber = "64512",
        ManageTransitGatewayAttachment = false,
        ManageVpcAttachment = false,
        Region = "us-east-1",
        SecurityDomains = new[]
        {
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Default_Domain",
                    "Shared_Service_Domain",
                    "mysdn1",
                },
                SecurityDomainName = "Aviatrix_Edge_Domain",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Aviatrix_Edge_Domain",
                    "Shared_Service_Domain",
                },
                SecurityDomainName = "Default_Domain",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Aviatrix_Edge_Domain",
                    "Default_Domain",
                },
                SecurityDomainName = "Shared_Service_Domain",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Aviatrix_Edge_Domain",
                },
                SecurityDomainName = "SDN1",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                SecurityDomainName = "mysdn2",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                AviatrixFirewall = true,
                SecurityDomainName = "firewall-domain",
            },
        },
        TgwName = "test-AWS-TGW",
    });

});
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.NewAviatrixAwsTgw(ctx, "testAwsTgw", &aviatrix.AviatrixAwsTgwArgs{
			AccountName:                    pulumi.String("devops"),
			AwsSideAsNumber:                pulumi.String("64512"),
			ManageTransitGatewayAttachment: pulumi.Bool(false),
			ManageVpcAttachment:            pulumi.Bool(false),
			Region:                         pulumi.String("us-east-1"),
			SecurityDomains: AviatrixAwsTgwSecurityDomainTypeArray{
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Default_Domain"),
						pulumi.String("Shared_Service_Domain"),
						pulumi.String("mysdn1"),
					},
					SecurityDomainName: pulumi.String("Aviatrix_Edge_Domain"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Aviatrix_Edge_Domain"),
						pulumi.String("Shared_Service_Domain"),
					},
					SecurityDomainName: pulumi.String("Default_Domain"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Aviatrix_Edge_Domain"),
						pulumi.String("Default_Domain"),
					},
					SecurityDomainName: pulumi.String("Shared_Service_Domain"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Aviatrix_Edge_Domain"),
					},
					SecurityDomainName: pulumi.String("SDN1"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					SecurityDomainName: pulumi.String("mysdn2"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					AviatrixFirewall:   pulumi.Bool(true),
					SecurityDomainName: pulumi.String("firewall-domain"),
				},
			},
			TgwName: pulumi.String("test-AWS-TGW"),
		})
		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.AviatrixAwsTgw;
import com.pulumi.aviatrix.AviatrixAwsTgwArgs;
import com.pulumi.aviatrix.inputs.AviatrixAwsTgwSecurityDomainArgs;
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 testAwsTgw = new AviatrixAwsTgw("testAwsTgw", AviatrixAwsTgwArgs.builder()        
            .accountName("devops")
            .awsSideAsNumber("64512")
            .manageTransitGatewayAttachment(false)
            .manageVpcAttachment(false)
            .region("us-east-1")
            .securityDomains(            
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains(                    
                        "Default_Domain",
                        "Shared_Service_Domain",
                        "mysdn1")
                    .securityDomainName("Aviatrix_Edge_Domain")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains(                    
                        "Aviatrix_Edge_Domain",
                        "Shared_Service_Domain")
                    .securityDomainName("Default_Domain")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains(                    
                        "Aviatrix_Edge_Domain",
                        "Default_Domain")
                    .securityDomainName("Shared_Service_Domain")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains("Aviatrix_Edge_Domain")
                    .securityDomainName("SDN1")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .securityDomainName("mysdn2")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .aviatrixFirewall(true)
                    .securityDomainName("firewall-domain")
                    .build())
            .tgwName("test-AWS-TGW")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

# Create an Aviatrix AWS TGW
test_aws_tgw = aviatrix.AviatrixAwsTgw("testAwsTgw",
    account_name="devops",
    aws_side_as_number="64512",
    manage_transit_gateway_attachment=False,
    manage_vpc_attachment=False,
    region="us-east-1",
    security_domains=[
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=[
                "Default_Domain",
                "Shared_Service_Domain",
                "mysdn1",
            ],
            security_domain_name="Aviatrix_Edge_Domain",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=[
                "Aviatrix_Edge_Domain",
                "Shared_Service_Domain",
            ],
            security_domain_name="Default_Domain",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=[
                "Aviatrix_Edge_Domain",
                "Default_Domain",
            ],
            security_domain_name="Shared_Service_Domain",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=["Aviatrix_Edge_Domain"],
            security_domain_name="SDN1",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            security_domain_name="mysdn2",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            aviatrix_firewall=True,
            security_domain_name="firewall-domain",
        ),
    ],
    tgw_name="test-AWS-TGW")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Create an Aviatrix AWS TGW
const testAwsTgw = new aviatrix.AviatrixAwsTgw("test_aws_tgw", {
    accountName: "devops",
    awsSideAsNumber: "64512",
    manageTransitGatewayAttachment: false,
    manageVpcAttachment: false,
    region: "us-east-1",
    securityDomains: [
        {
            connectedDomains: [
                "Default_Domain",
                "Shared_Service_Domain",
                "mysdn1",
            ],
            securityDomainName: "Aviatrix_Edge_Domain",
        },
        {
            connectedDomains: [
                "Aviatrix_Edge_Domain",
                "Shared_Service_Domain",
            ],
            securityDomainName: "Default_Domain",
        },
        {
            connectedDomains: [
                "Aviatrix_Edge_Domain",
                "Default_Domain",
            ],
            securityDomainName: "Shared_Service_Domain",
        },
        {
            connectedDomains: ["Aviatrix_Edge_Domain"],
            securityDomainName: "SDN1",
        },
        {
            securityDomainName: "mysdn2",
        },
        {
            aviatrixFirewall: true,
            securityDomainName: "firewall-domain",
        },
    ],
    tgwName: "test-AWS-TGW",
});
resources:
  # Create an Aviatrix AWS TGW
  testAwsTgw:
    type: aviatrix:AviatrixAwsTgw
    properties:
      accountName: devops
      awsSideAsNumber: '64512'
      manageTransitGatewayAttachment: false
      manageVpcAttachment: false
      region: us-east-1
      securityDomains:
        - connectedDomains:
            - Default_Domain
            - Shared_Service_Domain
            - mysdn1
          securityDomainName: Aviatrix_Edge_Domain
        - connectedDomains:
            - Aviatrix_Edge_Domain
            - Shared_Service_Domain
          securityDomainName: Default_Domain
        - connectedDomains:
            - Aviatrix_Edge_Domain
            - Default_Domain
          securityDomainName: Shared_Service_Domain
        - connectedDomains:
            - Aviatrix_Edge_Domain
          securityDomainName: SDN1
        - securityDomainName: mysdn2
        - aviatrixFirewall: true
          securityDomainName: firewall-domain
      tgwName: test-AWS-TGW
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;

return await Deployment.RunAsync(() => 
{
    // Create an Aviatrix AWSGov TGW
    var testAwsGovTgw = new Aviatrix.AviatrixAwsTgw("testAwsGovTgw", new()
    {
        AccountName = "devops",
        AwsSideAsNumber = "64512",
        CloudType = 256,
        ManageTransitGatewayAttachment = false,
        ManageVpcAttachment = false,
        Region = "us-gov-east-1",
        SecurityDomains = new[]
        {
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Default_Domain",
                    "Shared_Service_Domain",
                    "mysdn1",
                },
                SecurityDomainName = "Aviatrix_Edge_Domain",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Aviatrix_Edge_Domain",
                    "Shared_Service_Domain",
                },
                SecurityDomainName = "Default_Domain",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Aviatrix_Edge_Domain",
                    "Default_Domain",
                },
                SecurityDomainName = "Shared_Service_Domain",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                ConnectedDomains = new[]
                {
                    "Aviatrix_Edge_Domain",
                },
                SecurityDomainName = "SDN1",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                SecurityDomainName = "mysdn2",
            },
            new Aviatrix.Inputs.AviatrixAwsTgwSecurityDomainArgs
            {
                AviatrixFirewall = true,
                SecurityDomainName = "firewall-domain",
            },
        },
        TgwName = "test-AWSGov-TGW",
    });

});
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.NewAviatrixAwsTgw(ctx, "testAwsGovTgw", &aviatrix.AviatrixAwsTgwArgs{
			AccountName:                    pulumi.String("devops"),
			AwsSideAsNumber:                pulumi.String("64512"),
			CloudType:                      pulumi.Int(256),
			ManageTransitGatewayAttachment: pulumi.Bool(false),
			ManageVpcAttachment:            pulumi.Bool(false),
			Region:                         pulumi.String("us-gov-east-1"),
			SecurityDomains: AviatrixAwsTgwSecurityDomainTypeArray{
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Default_Domain"),
						pulumi.String("Shared_Service_Domain"),
						pulumi.String("mysdn1"),
					},
					SecurityDomainName: pulumi.String("Aviatrix_Edge_Domain"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Aviatrix_Edge_Domain"),
						pulumi.String("Shared_Service_Domain"),
					},
					SecurityDomainName: pulumi.String("Default_Domain"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Aviatrix_Edge_Domain"),
						pulumi.String("Default_Domain"),
					},
					SecurityDomainName: pulumi.String("Shared_Service_Domain"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					ConnectedDomains: pulumi.StringArray{
						pulumi.String("Aviatrix_Edge_Domain"),
					},
					SecurityDomainName: pulumi.String("SDN1"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					SecurityDomainName: pulumi.String("mysdn2"),
				},
				&AviatrixAwsTgwSecurityDomainTypeArgs{
					AviatrixFirewall:   pulumi.Bool(true),
					SecurityDomainName: pulumi.String("firewall-domain"),
				},
			},
			TgwName: pulumi.String("test-AWSGov-TGW"),
		})
		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.AviatrixAwsTgw;
import com.pulumi.aviatrix.AviatrixAwsTgwArgs;
import com.pulumi.aviatrix.inputs.AviatrixAwsTgwSecurityDomainArgs;
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 testAwsGovTgw = new AviatrixAwsTgw("testAwsGovTgw", AviatrixAwsTgwArgs.builder()        
            .accountName("devops")
            .awsSideAsNumber("64512")
            .cloudType(256)
            .manageTransitGatewayAttachment(false)
            .manageVpcAttachment(false)
            .region("us-gov-east-1")
            .securityDomains(            
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains(                    
                        "Default_Domain",
                        "Shared_Service_Domain",
                        "mysdn1")
                    .securityDomainName("Aviatrix_Edge_Domain")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains(                    
                        "Aviatrix_Edge_Domain",
                        "Shared_Service_Domain")
                    .securityDomainName("Default_Domain")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains(                    
                        "Aviatrix_Edge_Domain",
                        "Default_Domain")
                    .securityDomainName("Shared_Service_Domain")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .connectedDomains("Aviatrix_Edge_Domain")
                    .securityDomainName("SDN1")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .securityDomainName("mysdn2")
                    .build(),
                AviatrixAwsTgwSecurityDomainArgs.builder()
                    .aviatrixFirewall(true)
                    .securityDomainName("firewall-domain")
                    .build())
            .tgwName("test-AWSGov-TGW")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

# Create an Aviatrix AWSGov TGW
test_aws_gov_tgw = aviatrix.AviatrixAwsTgw("testAwsGovTgw",
    account_name="devops",
    aws_side_as_number="64512",
    cloud_type=256,
    manage_transit_gateway_attachment=False,
    manage_vpc_attachment=False,
    region="us-gov-east-1",
    security_domains=[
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=[
                "Default_Domain",
                "Shared_Service_Domain",
                "mysdn1",
            ],
            security_domain_name="Aviatrix_Edge_Domain",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=[
                "Aviatrix_Edge_Domain",
                "Shared_Service_Domain",
            ],
            security_domain_name="Default_Domain",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=[
                "Aviatrix_Edge_Domain",
                "Default_Domain",
            ],
            security_domain_name="Shared_Service_Domain",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            connected_domains=["Aviatrix_Edge_Domain"],
            security_domain_name="SDN1",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            security_domain_name="mysdn2",
        ),
        aviatrix.AviatrixAwsTgwSecurityDomainArgs(
            aviatrix_firewall=True,
            security_domain_name="firewall-domain",
        ),
    ],
    tgw_name="test-AWSGov-TGW")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Create an Aviatrix AWSGov TGW
const testAwsGovTgw = new aviatrix.AviatrixAwsTgw("test_aws_gov_tgw", {
    accountName: "devops",
    awsSideAsNumber: "64512",
    cloudType: 256,
    manageTransitGatewayAttachment: false,
    manageVpcAttachment: false,
    region: "us-gov-east-1",
    securityDomains: [
        {
            connectedDomains: [
                "Default_Domain",
                "Shared_Service_Domain",
                "mysdn1",
            ],
            securityDomainName: "Aviatrix_Edge_Domain",
        },
        {
            connectedDomains: [
                "Aviatrix_Edge_Domain",
                "Shared_Service_Domain",
            ],
            securityDomainName: "Default_Domain",
        },
        {
            connectedDomains: [
                "Aviatrix_Edge_Domain",
                "Default_Domain",
            ],
            securityDomainName: "Shared_Service_Domain",
        },
        {
            connectedDomains: ["Aviatrix_Edge_Domain"],
            securityDomainName: "SDN1",
        },
        {
            securityDomainName: "mysdn2",
        },
        {
            aviatrixFirewall: true,
            securityDomainName: "firewall-domain",
        },
    ],
    tgwName: "test-AWSGov-TGW",
});
resources:
  # Create an Aviatrix AWSGov TGW
  testAwsGovTgw:
    type: aviatrix:AviatrixAwsTgw
    properties:
      accountName: devops
      awsSideAsNumber: '64512'
      cloudType: 256
      manageTransitGatewayAttachment: false
      manageVpcAttachment: false
      region: us-gov-east-1
      securityDomains:
        - connectedDomains:
            - Default_Domain
            - Shared_Service_Domain
            - mysdn1
          securityDomainName: Aviatrix_Edge_Domain
        - connectedDomains:
            - Aviatrix_Edge_Domain
            - Shared_Service_Domain
          securityDomainName: Default_Domain
        - connectedDomains:
            - Aviatrix_Edge_Domain
            - Default_Domain
          securityDomainName: Shared_Service_Domain
        - connectedDomains:
            - Aviatrix_Edge_Domain
          securityDomainName: SDN1
        - securityDomainName: mysdn2
        - aviatrixFirewall: true
          securityDomainName: firewall-domain
      tgwName: test-AWSGov-TGW

Create AviatrixAwsTgw Resource

new AviatrixAwsTgw(name: string, args: AviatrixAwsTgwArgs, opts?: CustomResourceOptions);
@overload
def AviatrixAwsTgw(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_name: Optional[str] = None,
                   attached_aviatrix_transit_gateways: Optional[Sequence[str]] = None,
                   aws_side_as_number: Optional[str] = None,
                   cidrs: Optional[Sequence[str]] = None,
                   cloud_type: Optional[int] = None,
                   enable_multicast: Optional[bool] = None,
                   inspection_mode: Optional[str] = None,
                   manage_security_domain: Optional[bool] = None,
                   manage_transit_gateway_attachment: Optional[bool] = None,
                   manage_vpc_attachment: Optional[bool] = None,
                   region: Optional[str] = None,
                   security_domains: Optional[Sequence[AviatrixAwsTgwSecurityDomainArgs]] = None,
                   tgw_name: Optional[str] = None)
@overload
def AviatrixAwsTgw(resource_name: str,
                   args: AviatrixAwsTgwArgs,
                   opts: Optional[ResourceOptions] = None)
func NewAviatrixAwsTgw(ctx *Context, name string, args AviatrixAwsTgwArgs, opts ...ResourceOption) (*AviatrixAwsTgw, error)
public AviatrixAwsTgw(string name, AviatrixAwsTgwArgs args, CustomResourceOptions? opts = null)
public AviatrixAwsTgw(String name, AviatrixAwsTgwArgs args)
public AviatrixAwsTgw(String name, AviatrixAwsTgwArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixAwsTgw
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

AccountName string

Name of the cloud account in the Aviatrix controller.

AwsSideAsNumber string

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

Region string

AWS region of AWS TGW to be created in

TgwName string

Name of the AWS TGW to be created

AttachedAviatrixTransitGateways List<string>

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

Cidrs List<string>

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

CloudType int

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

EnableMulticast bool

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

InspectionMode string

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

ManageSecurityDomain bool

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

ManageTransitGatewayAttachment bool

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

ManageVpcAttachment bool

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

SecurityDomains List<AviatrixAwsTgwSecurityDomainArgs>

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

AccountName string

Name of the cloud account in the Aviatrix controller.

AwsSideAsNumber string

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

Region string

AWS region of AWS TGW to be created in

TgwName string

Name of the AWS TGW to be created

AttachedAviatrixTransitGateways []string

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

Cidrs []string

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

CloudType int

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

EnableMulticast bool

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

InspectionMode string

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

ManageSecurityDomain bool

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

ManageTransitGatewayAttachment bool

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

ManageVpcAttachment bool

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

SecurityDomains []AviatrixAwsTgwSecurityDomainTypeArgs

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

accountName String

Name of the cloud account in the Aviatrix controller.

awsSideAsNumber String

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

region String

AWS region of AWS TGW to be created in

tgwName String

Name of the AWS TGW to be created

attachedAviatrixTransitGateways List<String>

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

cidrs List<String>

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloudType Integer

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enableMulticast Boolean

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspectionMode String

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manageSecurityDomain Boolean

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manageTransitGatewayAttachment Boolean

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manageVpcAttachment Boolean

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

securityDomains List<AviatrixAwsTgwSecurityDomainArgs>

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

accountName string

Name of the cloud account in the Aviatrix controller.

awsSideAsNumber string

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

region string

AWS region of AWS TGW to be created in

tgwName string

Name of the AWS TGW to be created

attachedAviatrixTransitGateways string[]

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

cidrs string[]

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloudType number

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enableMulticast boolean

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspectionMode string

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manageSecurityDomain boolean

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manageTransitGatewayAttachment boolean

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manageVpcAttachment boolean

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

securityDomains AviatrixAwsTgwSecurityDomainArgs[]

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

account_name str

Name of the cloud account in the Aviatrix controller.

aws_side_as_number str

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

region str

AWS region of AWS TGW to be created in

tgw_name str

Name of the AWS TGW to be created

attached_aviatrix_transit_gateways Sequence[str]

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

cidrs Sequence[str]

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloud_type int

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enable_multicast bool

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspection_mode str

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manage_security_domain bool

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manage_transit_gateway_attachment bool

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manage_vpc_attachment bool

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

security_domains Sequence[AviatrixAwsTgwSecurityDomainArgs]

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

accountName String

Name of the cloud account in the Aviatrix controller.

awsSideAsNumber String

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

region String

AWS region of AWS TGW to be created in

tgwName String

Name of the AWS TGW to be created

attachedAviatrixTransitGateways List<String>

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

cidrs List<String>

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloudType Number

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enableMulticast Boolean

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspectionMode String

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manageSecurityDomain Boolean

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manageTransitGatewayAttachment Boolean

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manageVpcAttachment Boolean

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

securityDomains List<Property Map>

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

TgwId string

TGW ID. Available as of provider version R2.19+.

Id string

The provider-assigned unique ID for this managed resource.

TgwId string

TGW ID. Available as of provider version R2.19+.

id String

The provider-assigned unique ID for this managed resource.

tgwId String

TGW ID. Available as of provider version R2.19+.

id string

The provider-assigned unique ID for this managed resource.

tgwId string

TGW ID. Available as of provider version R2.19+.

id str

The provider-assigned unique ID for this managed resource.

tgw_id str

TGW ID. Available as of provider version R2.19+.

id String

The provider-assigned unique ID for this managed resource.

tgwId String

TGW ID. Available as of provider version R2.19+.

Look up Existing AviatrixAwsTgw Resource

Get an existing AviatrixAwsTgw 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?: AviatrixAwsTgwState, opts?: CustomResourceOptions): AviatrixAwsTgw
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_name: Optional[str] = None,
        attached_aviatrix_transit_gateways: Optional[Sequence[str]] = None,
        aws_side_as_number: Optional[str] = None,
        cidrs: Optional[Sequence[str]] = None,
        cloud_type: Optional[int] = None,
        enable_multicast: Optional[bool] = None,
        inspection_mode: Optional[str] = None,
        manage_security_domain: Optional[bool] = None,
        manage_transit_gateway_attachment: Optional[bool] = None,
        manage_vpc_attachment: Optional[bool] = None,
        region: Optional[str] = None,
        security_domains: Optional[Sequence[AviatrixAwsTgwSecurityDomainArgs]] = None,
        tgw_id: Optional[str] = None,
        tgw_name: Optional[str] = None) -> AviatrixAwsTgw
func GetAviatrixAwsTgw(ctx *Context, name string, id IDInput, state *AviatrixAwsTgwState, opts ...ResourceOption) (*AviatrixAwsTgw, error)
public static AviatrixAwsTgw Get(string name, Input<string> id, AviatrixAwsTgwState? state, CustomResourceOptions? opts = null)
public static AviatrixAwsTgw get(String name, Output<String> id, AviatrixAwsTgwState 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:
AccountName string

Name of the cloud account in the Aviatrix controller.

AttachedAviatrixTransitGateways List<string>

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

AwsSideAsNumber string

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

Cidrs List<string>

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

CloudType int

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

EnableMulticast bool

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

InspectionMode string

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

ManageSecurityDomain bool

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

ManageTransitGatewayAttachment bool

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

ManageVpcAttachment bool

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

Region string

AWS region of AWS TGW to be created in

SecurityDomains List<AviatrixAwsTgwSecurityDomainArgs>

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

TgwId string

TGW ID. Available as of provider version R2.19+.

TgwName string

Name of the AWS TGW to be created

AccountName string

Name of the cloud account in the Aviatrix controller.

AttachedAviatrixTransitGateways []string

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

AwsSideAsNumber string

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

Cidrs []string

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

CloudType int

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

EnableMulticast bool

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

InspectionMode string

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

ManageSecurityDomain bool

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

ManageTransitGatewayAttachment bool

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

ManageVpcAttachment bool

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

Region string

AWS region of AWS TGW to be created in

SecurityDomains []AviatrixAwsTgwSecurityDomainTypeArgs

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

TgwId string

TGW ID. Available as of provider version R2.19+.

TgwName string

Name of the AWS TGW to be created

accountName String

Name of the cloud account in the Aviatrix controller.

attachedAviatrixTransitGateways List<String>

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

awsSideAsNumber String

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

cidrs List<String>

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloudType Integer

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enableMulticast Boolean

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspectionMode String

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manageSecurityDomain Boolean

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manageTransitGatewayAttachment Boolean

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manageVpcAttachment Boolean

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

region String

AWS region of AWS TGW to be created in

securityDomains List<AviatrixAwsTgwSecurityDomainArgs>

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

tgwId String

TGW ID. Available as of provider version R2.19+.

tgwName String

Name of the AWS TGW to be created

accountName string

Name of the cloud account in the Aviatrix controller.

attachedAviatrixTransitGateways string[]

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

awsSideAsNumber string

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

cidrs string[]

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloudType number

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enableMulticast boolean

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspectionMode string

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manageSecurityDomain boolean

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manageTransitGatewayAttachment boolean

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manageVpcAttachment boolean

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

region string

AWS region of AWS TGW to be created in

securityDomains AviatrixAwsTgwSecurityDomainArgs[]

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

tgwId string

TGW ID. Available as of provider version R2.19+.

tgwName string

Name of the AWS TGW to be created

account_name str

Name of the cloud account in the Aviatrix controller.

attached_aviatrix_transit_gateways Sequence[str]

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

aws_side_as_number str

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

cidrs Sequence[str]

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloud_type int

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enable_multicast bool

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspection_mode str

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manage_security_domain bool

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manage_transit_gateway_attachment bool

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manage_vpc_attachment bool

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

region str

AWS region of AWS TGW to be created in

security_domains Sequence[AviatrixAwsTgwSecurityDomainArgs]

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

tgw_id str

TGW ID. Available as of provider version R2.19+.

tgw_name str

Name of the AWS TGW to be created

accountName String

Name of the cloud account in the Aviatrix controller.

attachedAviatrixTransitGateways List<String>

A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.

Deprecated:

Please set manage_transit_gateway_attachment to false, and use the standalone aviatrix_aws_tgw_transit_gateway_attachment resource instead.

awsSideAsNumber String

BGP Local ASN (Autonomous System Number). Integer between 1-4294967294. Example: "65001".

cidrs List<String>

Set of TGW CIDRs. For example, cidrs = ["10.0.10.0/24", "10.1.10.0/24"]. Available as of provider version R2.18.1+.

cloudType Number

Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.

enableMulticast Boolean

Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.

inspectionMode String

Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.

manageSecurityDomain Boolean

This parameter is a switch used to determine whether or not to manage security domains using the aviatrix_aws_tgw resource. If this is set to false, creation and management of security domains must be done using the aviatrix_aws_tgw_security_domain resource. Valid values: true, false. Default value: true.

manageTransitGatewayAttachment Boolean

This parameter is a switch used to determine whether or not to manage transit gateway attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of transit gateways must be done using the aviatrix_aws_tgw_transit_gateway_attachment resource. Valid values: true, false. Default value: true.

manageVpcAttachment Boolean

This parameter is a switch used to determine whether or not to manage VPC attachments to the TGW using the aviatrix_aws_tgw resource. If this is set to false, attachment of VPCs must be done using the aviatrix_aws_tgw_vpc_attachment resource. Valid values: true, false. Default value: true.

region String

AWS region of AWS TGW to be created in

securityDomains List<Property Map>

Security Domains to create together with AWS TGW's creation. Three default domains, along with the connections between them, are created automatically. These three domains can't be deleted, but the connection between any two of them can be.

Deprecated:

Please set manage_security_domain to false, and use the standalone aviatrix_aws_tgw_network_domain resource instead.

tgwId String

TGW ID. Available as of provider version R2.19+.

tgwName String

Name of the AWS TGW to be created

Supporting Types

AviatrixAwsTgwSecurityDomain

SecurityDomainName string

Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.

AttachedVpcs List<AviatrixAwsTgwSecurityDomainAttachedVpc>

A list of VPCs attached to the domain (name: security_domain_name) together with its creation. This list needs to be null for "Aviatrix_Edge_Domain".

Deprecated:

Please set manage_vpc_attachment to false, and use the standalone aviatrix_aws_tgw_vpc_attachment resource instead.

AviatrixFirewall bool

Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.

ConnectedDomains List<string>

A list of domains connected to the domain (name: security_domain_name) together with its creation.

NativeEgress bool

Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.

NativeFirewall bool

Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.

SecurityDomainName string

Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.

AttachedVpcs []AviatrixAwsTgwSecurityDomainAttachedVpc

A list of VPCs attached to the domain (name: security_domain_name) together with its creation. This list needs to be null for "Aviatrix_Edge_Domain".

Deprecated:

Please set manage_vpc_attachment to false, and use the standalone aviatrix_aws_tgw_vpc_attachment resource instead.

AviatrixFirewall bool

Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.

ConnectedDomains []string

A list of domains connected to the domain (name: security_domain_name) together with its creation.

NativeEgress bool

Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.

NativeFirewall bool

Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.

securityDomainName String

Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.

attachedVpcs List<AviatrixAwsTgwSecurityDomainAttachedVpc>

A list of VPCs attached to the domain (name: security_domain_name) together with its creation. This list needs to be null for "Aviatrix_Edge_Domain".

Deprecated:

Please set manage_vpc_attachment to false, and use the standalone aviatrix_aws_tgw_vpc_attachment resource instead.

aviatrixFirewall Boolean

Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.

connectedDomains List<String>

A list of domains connected to the domain (name: security_domain_name) together with its creation.

nativeEgress Boolean

Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.

nativeFirewall Boolean

Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.

securityDomainName string

Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.

attachedVpcs AviatrixAwsTgwSecurityDomainAttachedVpc[]

A list of VPCs attached to the domain (name: security_domain_name) together with its creation. This list needs to be null for "Aviatrix_Edge_Domain".

Deprecated:

Please set manage_vpc_attachment to false, and use the standalone aviatrix_aws_tgw_vpc_attachment resource instead.

aviatrixFirewall boolean

Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.

connectedDomains string[]

A list of domains connected to the domain (name: security_domain_name) together with its creation.

nativeEgress boolean

Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.

nativeFirewall boolean

Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.

security_domain_name str

Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.

attached_vpcs Sequence[AviatrixAwsTgwSecurityDomainAttachedVpc]

A list of VPCs attached to the domain (name: security_domain_name) together with its creation. This list needs to be null for "Aviatrix_Edge_Domain".

Deprecated:

Please set manage_vpc_attachment to false, and use the standalone aviatrix_aws_tgw_vpc_attachment resource instead.

aviatrix_firewall bool

Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.

connected_domains Sequence[str]

A list of domains connected to the domain (name: security_domain_name) together with its creation.

native_egress bool

Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.

native_firewall bool

Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.

securityDomainName String

Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.

attachedVpcs List<Property Map>

A list of VPCs attached to the domain (name: security_domain_name) together with its creation. This list needs to be null for "Aviatrix_Edge_Domain".

Deprecated:

Please set manage_vpc_attachment to false, and use the standalone aviatrix_aws_tgw_vpc_attachment resource instead.

aviatrixFirewall Boolean

Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.

connectedDomains List<String>

A list of domains connected to the domain (name: security_domain_name) together with its creation.

nativeEgress Boolean

Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.

nativeFirewall Boolean

Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.

AviatrixAwsTgwSecurityDomainAttachedVpc

VpcAccountName string

Cloud account name of the VPC in the Aviatrix controller.

VpcId string

VPC ID of the VPC to be attached to the security domain

VpcRegion string

Region of the VPC, needs to be consistent with AWS TGW's region.

CustomizedRouteAdvertisement string

Advanced option. Customized route(s) to be advertised to other VPCs that are connected to the same TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

CustomizedRoutes string

Advanced option. Customized Spoke VPC Routes. It allows the admin to enter non-RFC1918 routes in the VPC route table targeting the TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

DisableLocalRoutePropagation bool

Advanced option. If set to true, it disables automatic route propagation of this VPC to other VPCs within the same security domain. Valid values: true, false. Default value: false.

RouteTables string

Advanced option. Route tables separated by ',' to participate in TGW Orchestrator, i.e., learned routes will be propagated to these route tables. Example: "rtb-212ff547,rtb-045397874c170c745".

Subnets string

Advanced option. VPC subnets separated by ',' to attach to the VPC. If left blank, the Aviatrix Controller automatically selects a subnet representing each AZ for the VPC attachment. Example: "subnet-214f5646,subnet-085e8c81a89d70846".

VpcAccountName string

Cloud account name of the VPC in the Aviatrix controller.

VpcId string

VPC ID of the VPC to be attached to the security domain

VpcRegion string

Region of the VPC, needs to be consistent with AWS TGW's region.

CustomizedRouteAdvertisement string

Advanced option. Customized route(s) to be advertised to other VPCs that are connected to the same TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

CustomizedRoutes string

Advanced option. Customized Spoke VPC Routes. It allows the admin to enter non-RFC1918 routes in the VPC route table targeting the TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

DisableLocalRoutePropagation bool

Advanced option. If set to true, it disables automatic route propagation of this VPC to other VPCs within the same security domain. Valid values: true, false. Default value: false.

RouteTables string

Advanced option. Route tables separated by ',' to participate in TGW Orchestrator, i.e., learned routes will be propagated to these route tables. Example: "rtb-212ff547,rtb-045397874c170c745".

Subnets string

Advanced option. VPC subnets separated by ',' to attach to the VPC. If left blank, the Aviatrix Controller automatically selects a subnet representing each AZ for the VPC attachment. Example: "subnet-214f5646,subnet-085e8c81a89d70846".

vpcAccountName String

Cloud account name of the VPC in the Aviatrix controller.

vpcId String

VPC ID of the VPC to be attached to the security domain

vpcRegion String

Region of the VPC, needs to be consistent with AWS TGW's region.

customizedRouteAdvertisement String

Advanced option. Customized route(s) to be advertised to other VPCs that are connected to the same TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

customizedRoutes String

Advanced option. Customized Spoke VPC Routes. It allows the admin to enter non-RFC1918 routes in the VPC route table targeting the TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

disableLocalRoutePropagation Boolean

Advanced option. If set to true, it disables automatic route propagation of this VPC to other VPCs within the same security domain. Valid values: true, false. Default value: false.

routeTables String

Advanced option. Route tables separated by ',' to participate in TGW Orchestrator, i.e., learned routes will be propagated to these route tables. Example: "rtb-212ff547,rtb-045397874c170c745".

subnets String

Advanced option. VPC subnets separated by ',' to attach to the VPC. If left blank, the Aviatrix Controller automatically selects a subnet representing each AZ for the VPC attachment. Example: "subnet-214f5646,subnet-085e8c81a89d70846".

vpcAccountName string

Cloud account name of the VPC in the Aviatrix controller.

vpcId string

VPC ID of the VPC to be attached to the security domain

vpcRegion string

Region of the VPC, needs to be consistent with AWS TGW's region.

customizedRouteAdvertisement string

Advanced option. Customized route(s) to be advertised to other VPCs that are connected to the same TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

customizedRoutes string

Advanced option. Customized Spoke VPC Routes. It allows the admin to enter non-RFC1918 routes in the VPC route table targeting the TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

disableLocalRoutePropagation boolean

Advanced option. If set to true, it disables automatic route propagation of this VPC to other VPCs within the same security domain. Valid values: true, false. Default value: false.

routeTables string

Advanced option. Route tables separated by ',' to participate in TGW Orchestrator, i.e., learned routes will be propagated to these route tables. Example: "rtb-212ff547,rtb-045397874c170c745".

subnets string

Advanced option. VPC subnets separated by ',' to attach to the VPC. If left blank, the Aviatrix Controller automatically selects a subnet representing each AZ for the VPC attachment. Example: "subnet-214f5646,subnet-085e8c81a89d70846".

vpc_account_name str

Cloud account name of the VPC in the Aviatrix controller.

vpc_id str

VPC ID of the VPC to be attached to the security domain

vpc_region str

Region of the VPC, needs to be consistent with AWS TGW's region.

customized_route_advertisement str

Advanced option. Customized route(s) to be advertised to other VPCs that are connected to the same TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

customized_routes str

Advanced option. Customized Spoke VPC Routes. It allows the admin to enter non-RFC1918 routes in the VPC route table targeting the TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

disable_local_route_propagation bool

Advanced option. If set to true, it disables automatic route propagation of this VPC to other VPCs within the same security domain. Valid values: true, false. Default value: false.

route_tables str

Advanced option. Route tables separated by ',' to participate in TGW Orchestrator, i.e., learned routes will be propagated to these route tables. Example: "rtb-212ff547,rtb-045397874c170c745".

subnets str

Advanced option. VPC subnets separated by ',' to attach to the VPC. If left blank, the Aviatrix Controller automatically selects a subnet representing each AZ for the VPC attachment. Example: "subnet-214f5646,subnet-085e8c81a89d70846".

vpcAccountName String

Cloud account name of the VPC in the Aviatrix controller.

vpcId String

VPC ID of the VPC to be attached to the security domain

vpcRegion String

Region of the VPC, needs to be consistent with AWS TGW's region.

customizedRouteAdvertisement String

Advanced option. Customized route(s) to be advertised to other VPCs that are connected to the same TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

customizedRoutes String

Advanced option. Customized Spoke VPC Routes. It allows the admin to enter non-RFC1918 routes in the VPC route table targeting the TGW. Example: "10.8.0.0/16,10.9.0.0/16,10.10.0.0/16".

disableLocalRoutePropagation Boolean

Advanced option. If set to true, it disables automatic route propagation of this VPC to other VPCs within the same security domain. Valid values: true, false. Default value: false.

routeTables String

Advanced option. Route tables separated by ',' to participate in TGW Orchestrator, i.e., learned routes will be propagated to these route tables. Example: "rtb-212ff547,rtb-045397874c170c745".

subnets String

Advanced option. VPC subnets separated by ',' to attach to the VPC. If left blank, the Aviatrix Controller automatically selects a subnet representing each AZ for the VPC attachment. Example: "subnet-214f5646,subnet-085e8c81a89d70846".

Import

aws_tgw can be imported using the tgw_name, e.g.

 $ pulumi import aviatrix:index/aviatrixAwsTgw:AviatrixAwsTgw test tgw_name

Package Details

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

This Pulumi package is based on the aviatrix Terraform Provider.