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-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 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
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
The AviatrixAwsTgw resource accepts the following input properties:
- Account
Name string - Name of the cloud account in the Aviatrix controller.
- Aws
Side 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
- Tgw
Name string - Name of the AWS TGW to be created
- Attached
Aviatrix 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+. - 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 string - 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 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.
- Account
Name string - Name of the cloud account in the Aviatrix controller.
- Aws
Side 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
- Tgw
Name string - Name of the AWS TGW to be created
- Attached
Aviatrix []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+. - 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 string - 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 []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.
- account
Name String - Name of the cloud account in the Aviatrix controller.
- aws
Side 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
- tgw
Name String - Name of the AWS TGW to be created
- attached
Aviatrix 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+. - cloud
Type Integer - Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.
- enable
Multicast Boolean - Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.
- inspection
Mode String - Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.
- manage
Security 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.
- manage
Transit 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.
- manage
Vpc 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.
- security
Domains 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.
- account
Name string - Name of the cloud account in the Aviatrix controller.
- aws
Side 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
- tgw
Name string - Name of the AWS TGW to be created
- attached
Aviatrix 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+. - cloud
Type number - Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.
- enable
Multicast boolean - Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.
- inspection
Mode string - Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.
- manage
Security 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.
- manage
Transit 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.
- manage
Vpc 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.
- security
Domains 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.
- account
Name String - Name of the cloud account in the Aviatrix controller.
- aws
Side 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
- tgw
Name String - Name of the AWS TGW to be created
- attached
Aviatrix 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+. - cloud
Type Number - Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.
- enable
Multicast Boolean - Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.
- inspection
Mode String - Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.
- manage
Security 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.
- manage
Transit 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.
- manage
Vpc 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.
- security
Domains 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) -> 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.
- Account
Name string - Name of the cloud account in the Aviatrix controller.
- Attached
Aviatrix List<string>Transit Gateways - A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- Aws
Side 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+. - 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 string - 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 string
- AWS region of AWS TGW to be created in
- Security
Domains 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.
- Tgw
Id string - TGW ID. Available as of provider version R2.19+.
- Tgw
Name string - Name of the AWS TGW to be created
- Account
Name string - Name of the cloud account in the Aviatrix controller.
- Attached
Aviatrix []stringTransit Gateways - A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- Aws
Side 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+. - 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 string - 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 string
- AWS region of AWS TGW to be created in
- Security
Domains []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.
- Tgw
Id string - TGW ID. Available as of provider version R2.19+.
- Tgw
Name string - Name of the AWS TGW to be created
- account
Name String - Name of the cloud account in the Aviatrix controller.
- attached
Aviatrix List<String>Transit Gateways - A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- aws
Side 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+. - cloud
Type Integer - Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.
- enable
Multicast Boolean - Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.
- inspection
Mode String - Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.
- manage
Security 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.
- manage
Transit 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.
- manage
Vpc 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
- security
Domains 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.
- tgw
Id String - TGW ID. Available as of provider version R2.19+.
- tgw
Name String - Name of the AWS TGW to be created
- account
Name string - Name of the cloud account in the Aviatrix controller.
- attached
Aviatrix string[]Transit Gateways - A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- aws
Side 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+. - cloud
Type number - Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.
- enable
Multicast boolean - Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.
- inspection
Mode string - Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.
- manage
Security 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.
- manage
Transit 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.
- manage
Vpc 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
- security
Domains 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.
- tgw
Id string - TGW ID. Available as of provider version R2.19+.
- tgw
Name 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
- account
Name String - Name of the cloud account in the Aviatrix controller.
- attached
Aviatrix List<String>Transit Gateways - A list of names of Aviatrix Transit Gateway(s) (transit VPCs) to attach to the Aviatrix_Edge_Domain.
- aws
Side 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+. - cloud
Type Number - Type of cloud service provider, requires an integer value. Supported for AWS (1) and AWSGov (256). Default value: 1.
- enable
Multicast Boolean - Enable multicast. Default value: false. Valid values: true, false. Available in provider version R2.17+.
- inspection
Mode String - Inspection mode. Valid values: "Domain-based", "Connection-based". Default value: "Domain-based". Available as of provider version R2.23+.
- manage
Security 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.
- manage
Transit 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.
- manage
Vpc 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
- security
Domains 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.
- tgw
Id String - TGW ID. Available as of provider version R2.19+.
- tgw
Name String - Name of the AWS TGW to be created
Supporting Types
AviatrixAwsTgwSecurityDomain, AviatrixAwsTgwSecurityDomainArgs
- Security
Domain stringName - Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- Attached
Vpcs 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". - 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 List<string> - 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.
- Security
Domain stringName - Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- Attached
Vpcs []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 []string - 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.
- security
Domain StringName - Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- attached
Vpcs 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". - aviatrix
Firewall 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.
- connected
Domains List<String> - A list of domains connected to the domain (name:
security_domain_name
) together with its creation. - native
Egress 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.
- native
Firewall 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 stringName - Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- attached
Vpcs 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 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.
- connected
Domains string[] - A list of domains connected to the domain (name:
security_domain_name
) together with its creation. - native
Egress 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.
- native
Firewall 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.
- security
Domain StringName - Three default domains ("Aviatrix_Edge_Domain", "Default_Domain" and "Shared_Service_Domain") are required with AWS TGW's creation.
- attached
Vpcs 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". - aviatrix
Firewall 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.
- connected
Domains List<String> - A list of domains connected to the domain (name:
security_domain_name
) together with its creation. - native
Egress 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.
- native
Firewall 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
- Vpc
Account stringName - Cloud account name of the VPC in the Aviatrix controller.
- Vpc
Id string - VPC ID of the VPC to be attached to the security domain
- Vpc
Region string - Region of the VPC, needs to be consistent with AWS TGW's region.
- Customized
Route 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".
- Customized
Routes 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".
- 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 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 stringName - Cloud account name of the VPC in the Aviatrix controller.
- Vpc
Id string - VPC ID of the VPC to be attached to the security domain
- Vpc
Region string - Region of the VPC, needs to be consistent with AWS TGW's region.
- Customized
Route 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".
- Customized
Routes 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".
- 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 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 StringName - Cloud account name of the VPC in the Aviatrix controller.
- vpc
Id String - VPC ID of the VPC to be attached to the security domain
- vpc
Region String - Region of the VPC, needs to be consistent with AWS TGW's region.
- customized
Route 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".
- customized
Routes 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".
- disable
Local 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.
- route
Tables 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 stringName - Cloud account name of the VPC in the Aviatrix controller.
- vpc
Id string - VPC ID of the VPC to be attached to the security domain
- vpc
Region string - Region of the VPC, needs to be consistent with AWS TGW's region.
- customized
Route 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".
- customized
Routes 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".
- disable
Local 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.
- route
Tables 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".
- vpc
Account StringName - Cloud account name of the VPC in the Aviatrix controller.
- vpc
Id String - VPC ID of the VPC to be attached to the security domain
- vpc
Region String - Region of the VPC, needs to be consistent with AWS TGW's region.
- customized
Route 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".
- customized
Routes 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".
- disable
Local 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.
- route
Tables 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
aviatrix
Terraform Provider.