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_attachmentto false and using the aviatrix_aws_tgw_vpc_attachment resource instead of the in-lineattached_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 * 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",
});
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")
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 * 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",
});
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")
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixAwsTgw(name: string, args: AviatrixAwsTgwArgs, opts?: CustomResourceOptions);@overload
def AviatrixAwsTgw(resource_name: str,
                   args: AviatrixAwsTgwArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def AviatrixAwsTgw(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   account_name: Optional[str] = None,
                   tgw_name: Optional[str] = None,
                   aws_side_as_number: Optional[str] = None,
                   region: Optional[str] = None,
                   inspection_mode: Optional[str] = None,
                   enable_multicast: Optional[bool] = None,
                   cloud_type: Optional[int] = None,
                   manage_security_domain: Optional[bool] = None,
                   manage_transit_gateway_attachment: Optional[bool] = None,
                   manage_vpc_attachment: Optional[bool] = None,
                   cidrs: Optional[Sequence[str]] = None,
                   security_domains: Optional[Sequence[AviatrixAwsTgwSecurityDomainArgs]] = None,
                   attached_aviatrix_transit_gateways: Optional[Sequence[str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var aviatrixAwsTgwResource = new Aviatrix.AviatrixAwsTgw("aviatrixAwsTgwResource", new()
{
    AccountName = "string",
    TgwName = "string",
    AwsSideAsNumber = "string",
    Region = "string",
    InspectionMode = "string",
    EnableMulticast = false,
    CloudType = 0,
    ManageSecurityDomain = false,
    ManageTransitGatewayAttachment = false,
    ManageVpcAttachment = false,
    Cidrs = new[]
    {
        "string",
    },
});
example, err := aviatrix.NewAviatrixAwsTgw(ctx, "aviatrixAwsTgwResource", &aviatrix.AviatrixAwsTgwArgs{
	AccountName:                    pulumi.String("string"),
	TgwName:                        pulumi.String("string"),
	AwsSideAsNumber:                pulumi.String("string"),
	Region:                         pulumi.String("string"),
	InspectionMode:                 pulumi.String("string"),
	EnableMulticast:                pulumi.Bool(false),
	CloudType:                      pulumi.Int(0),
	ManageSecurityDomain:           pulumi.Bool(false),
	ManageTransitGatewayAttachment: pulumi.Bool(false),
	ManageVpcAttachment:            pulumi.Bool(false),
	Cidrs: pulumi.StringArray{
		pulumi.String("string"),
	},
})
var aviatrixAwsTgwResource = new AviatrixAwsTgw("aviatrixAwsTgwResource", AviatrixAwsTgwArgs.builder()
    .accountName("string")
    .tgwName("string")
    .awsSideAsNumber("string")
    .region("string")
    .inspectionMode("string")
    .enableMulticast(false)
    .cloudType(0)
    .manageSecurityDomain(false)
    .manageTransitGatewayAttachment(false)
    .manageVpcAttachment(false)
    .cidrs("string")
    .build());
aviatrix_aws_tgw_resource = aviatrix.AviatrixAwsTgw("aviatrixAwsTgwResource",
    account_name="string",
    tgw_name="string",
    aws_side_as_number="string",
    region="string",
    inspection_mode="string",
    enable_multicast=False,
    cloud_type=0,
    manage_security_domain=False,
    manage_transit_gateway_attachment=False,
    manage_vpc_attachment=False,
    cidrs=["string"])
const aviatrixAwsTgwResource = new aviatrix.AviatrixAwsTgw("aviatrixAwsTgwResource", {
    accountName: "string",
    tgwName: "string",
    awsSideAsNumber: "string",
    region: "string",
    inspectionMode: "string",
    enableMulticast: false,
    cloudType: 0,
    manageSecurityDomain: false,
    manageTransitGatewayAttachment: false,
    manageVpcAttachment: false,
    cidrs: ["string"],
});
type: aviatrix:AviatrixAwsTgw
properties:
    accountName: string
    awsSideAsNumber: string
    cidrs:
        - string
    cloudType: 0
    enableMulticast: false
    inspectionMode: string
    manageSecurityDomain: false
    manageTransitGatewayAttachment: false
    manageVpcAttachment: false
    region: string
    tgwName: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AviatrixAwsTgw resource accepts the following input properties:
- AccountName string
- Name of the cloud account in the Aviatrix controller.
- AwsSide stringAs Number 
- 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
- AttachedAviatrix List<string>Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- 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+.
- ManageSecurity boolDomain 
- 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.
- ManageTransit boolGateway Attachment 
- 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.
- ManageVpc boolAttachment 
- 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<AviatrixAws Tgw Security Domain> 
- 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.
- AccountName string
- Name of the cloud account in the Aviatrix controller.
- AwsSide stringAs Number 
- 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
- AttachedAviatrix []stringTransit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- 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+.
- ManageSecurity boolDomain 
- 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.
- ManageTransit boolGateway Attachment 
- 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.
- ManageVpc boolAttachment 
- 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 []AviatrixAws Tgw Security Domain Type Args 
- 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.
- accountName String
- Name of the cloud account in the Aviatrix controller.
- awsSide StringAs Number 
- 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
- attachedAviatrix List<String>Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- 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+.
- manageSecurity BooleanDomain 
- 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.
- manageTransit BooleanGateway Attachment 
- 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.
- manageVpc BooleanAttachment 
- 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<AviatrixAws Tgw Security Domain> 
- 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.
- accountName string
- Name of the cloud account in the Aviatrix controller.
- awsSide stringAs Number 
- 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
- attachedAviatrix string[]Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- 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+.
- manageSecurity booleanDomain 
- 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.
- manageTransit booleanGateway Attachment 
- 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.
- manageVpc booleanAttachment 
- 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 AviatrixAws Tgw Security Domain[] 
- 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.
- account_name str
- Name of the cloud account in the Aviatrix controller.
- aws_side_ stras_ number 
- 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_ Sequence[str]transit_ gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- 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_ booldomain 
- 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_ boolgateway_ attachment 
- 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_ boolattachment 
- 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[AviatrixAws Tgw Security Domain Args] 
- 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.
- accountName String
- Name of the cloud account in the Aviatrix controller.
- awsSide StringAs Number 
- 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
- attachedAviatrix List<String>Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- 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+.
- manageSecurity BooleanDomain 
- 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.
- manageTransit BooleanGateway Attachment 
- 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.
- manageVpc BooleanAttachment 
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixAwsTgw resource produces the following output properties:
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) -> AviatrixAwsTgwfunc 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)resources:  _:    type: aviatrix:AviatrixAwsTgw    get:      id: ${id}- 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.
- AccountName string
- Name of the cloud account in the Aviatrix controller.
- AttachedAviatrix List<string>Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- AwsSide stringAs Number 
- 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+.
- ManageSecurity boolDomain 
- 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.
- ManageTransit boolGateway Attachment 
- 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.
- ManageVpc boolAttachment 
- 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<AviatrixAws Tgw Security Domain> 
- 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.
- 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.
- AttachedAviatrix []stringTransit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- AwsSide stringAs Number 
- 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+.
- ManageSecurity boolDomain 
- 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.
- ManageTransit boolGateway Attachment 
- 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.
- ManageVpc boolAttachment 
- 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 []AviatrixAws Tgw Security Domain Type Args 
- 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.
- 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.
- attachedAviatrix List<String>Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- awsSide StringAs Number 
- 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+.
- manageSecurity BooleanDomain 
- 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.
- manageTransit BooleanGateway Attachment 
- 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.
- manageVpc BooleanAttachment 
- 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<AviatrixAws Tgw Security Domain> 
- 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.
- 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.
- attachedAviatrix string[]Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- awsSide stringAs Number 
- 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+.
- manageSecurity booleanDomain 
- 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.
- manageTransit booleanGateway Attachment 
- 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.
- manageVpc booleanAttachment 
- 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 AviatrixAws Tgw Security Domain[] 
- 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.
- 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_ Sequence[str]transit_ gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- aws_side_ stras_ number 
- 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_ booldomain 
- 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_ boolgateway_ attachment 
- 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_ boolattachment 
- 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[AviatrixAws Tgw Security Domain Args] 
- 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.
- 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.
- attachedAviatrix List<String>Transit Gateways 
- A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- awsSide StringAs Number 
- 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+.
- manageSecurity BooleanDomain 
- 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.
- manageTransit BooleanGateway Attachment 
- 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.
- manageVpc BooleanAttachment 
- 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.
- tgwId String
- TGW ID. Available as of provider version R2.19+.
- tgwName String
- Name of the AWS TGW to be created
Supporting Types
AviatrixAwsTgwSecurityDomain, AviatrixAwsTgwSecurityDomainArgs          
- SecurityDomain stringName 
- Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- AttachedVpcs List<AviatrixAws Tgw Security Domain Attached Vpc> 
- 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".
- 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.
- SecurityDomain stringName 
- Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- AttachedVpcs []AviatrixAws Tgw Security Domain Attached Vpc 
- 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".
- 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.
- securityDomain StringName 
- Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- attachedVpcs List<AviatrixAws Tgw Security Domain Attached Vpc> 
- 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".
- 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.
- securityDomain stringName 
- Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- attachedVpcs AviatrixAws Tgw Security Domain Attached Vpc[] 
- 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".
- 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_ strname 
- Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- attached_vpcs Sequence[AviatrixAws Tgw Security Domain Attached Vpc] 
- 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".
- 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.
- securityDomain StringName 
- 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".
- 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, AviatrixAwsTgwSecurityDomainAttachedVpcArgs              
- VpcAccount stringName 
- 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.
- CustomizedRoute stringAdvertisement 
- 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".
- DisableLocal boolRoute Propagation 
- 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".
- VpcAccount stringName 
- 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.
- CustomizedRoute stringAdvertisement 
- 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".
- DisableLocal boolRoute Propagation 
- 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".
- vpcAccount StringName 
- 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.
- customizedRoute StringAdvertisement 
- 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".
- disableLocal BooleanRoute Propagation 
- 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".
- vpcAccount stringName 
- 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.
- customizedRoute stringAdvertisement 
- 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".
- disableLocal booleanRoute Propagation 
- 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_ strname 
- 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_ stradvertisement 
- 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_ boolroute_ propagation 
- 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".
- vpcAccount StringName 
- 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.
- customizedRoute StringAdvertisement 
- 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".
- disableLocal BooleanRoute Propagation 
- 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
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 aviatrixTerraform Provider.