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

aviatrix.AviatrixAwsTgwNetworkDomain

Explore with Pulumi AI

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

    The aviatrix_aws_tgw_network_domain resource allows the creation and management of Aviatrix network domains.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix AWS TGW network domain
        var testAwsTgw = new Aviatrix.AviatrixAwsTgw("testAwsTgw", new()
        {
            AccountName = "devops",
            AwsSideAsNumber = "64512",
            Region = "us-east-1",
            TgwName = "test-AWS-TGW",
            ManageSecurityDomain = false,
            ManageVpcAttachment = false,
            ManageTransitGatewayAttachment = false,
        });
    
        var defaultDomain = new Aviatrix.AviatrixAwsTgwNetworkDomain("defaultDomain", new()
        {
            TgwName = testAwsTgw.TgwName,
        });
    
        var sharedServiceDomain = new Aviatrix.AviatrixAwsTgwNetworkDomain("sharedServiceDomain", new()
        {
            TgwName = testAwsTgw.TgwName,
        });
    
        var aviatrixEdgeDomain = new Aviatrix.AviatrixAwsTgwNetworkDomain("aviatrixEdgeDomain", new()
        {
            TgwName = testAwsTgw.TgwName,
        });
    
        var defaultSdConn1 = new Aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn1", new()
        {
            TgwName = testAwsTgw.TgwName,
            DomainName1 = aviatrixEdgeDomain.Name,
            DomainName2 = defaultDomain.Name,
        });
    
        var defaultSdConn2 = new Aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn2", new()
        {
            TgwName = testAwsTgw.TgwName,
            DomainName1 = aviatrixEdgeDomain.Name,
            DomainName2 = sharedServiceDomain.Name,
        });
    
        var defaultSdConn3 = new Aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn3", new()
        {
            TgwName = testAwsTgw.TgwName,
            DomainName1 = defaultDomain.Name,
            DomainName2 = sharedServiceDomain.Name,
        });
    
        var test = new Aviatrix.AviatrixAwsTgwNetworkDomain("test", new()
        {
            TgwName = testAwsTgw.TgwName,
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                defaultDomain,
                sharedServiceDomain,
                aviatrixEdgeDomain,
            },
        });
    
    });
    
    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 {
    		testAwsTgw, err := aviatrix.NewAviatrixAwsTgw(ctx, "testAwsTgw", &aviatrix.AviatrixAwsTgwArgs{
    			AccountName:                    pulumi.String("devops"),
    			AwsSideAsNumber:                pulumi.String("64512"),
    			Region:                         pulumi.String("us-east-1"),
    			TgwName:                        pulumi.String("test-AWS-TGW"),
    			ManageSecurityDomain:           pulumi.Bool(false),
    			ManageVpcAttachment:            pulumi.Bool(false),
    			ManageTransitGatewayAttachment: pulumi.Bool(false),
    		})
    		if err != nil {
    			return err
    		}
    		defaultDomain, err := aviatrix.NewAviatrixAwsTgwNetworkDomain(ctx, "defaultDomain", &aviatrix.AviatrixAwsTgwNetworkDomainArgs{
    			TgwName: testAwsTgw.TgwName,
    		})
    		if err != nil {
    			return err
    		}
    		sharedServiceDomain, err := aviatrix.NewAviatrixAwsTgwNetworkDomain(ctx, "sharedServiceDomain", &aviatrix.AviatrixAwsTgwNetworkDomainArgs{
    			TgwName: testAwsTgw.TgwName,
    		})
    		if err != nil {
    			return err
    		}
    		aviatrixEdgeDomain, err := aviatrix.NewAviatrixAwsTgwNetworkDomain(ctx, "aviatrixEdgeDomain", &aviatrix.AviatrixAwsTgwNetworkDomainArgs{
    			TgwName: testAwsTgw.TgwName,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = aviatrix.NewAviatrixAwsTgwSecurityDomainConn(ctx, "defaultSdConn1", &aviatrix.AviatrixAwsTgwSecurityDomainConnArgs{
    			TgwName:     testAwsTgw.TgwName,
    			DomainName1: aviatrixEdgeDomain.Name,
    			DomainName2: defaultDomain.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = aviatrix.NewAviatrixAwsTgwSecurityDomainConn(ctx, "defaultSdConn2", &aviatrix.AviatrixAwsTgwSecurityDomainConnArgs{
    			TgwName:     testAwsTgw.TgwName,
    			DomainName1: aviatrixEdgeDomain.Name,
    			DomainName2: sharedServiceDomain.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = aviatrix.NewAviatrixAwsTgwSecurityDomainConn(ctx, "defaultSdConn3", &aviatrix.AviatrixAwsTgwSecurityDomainConnArgs{
    			TgwName:     testAwsTgw.TgwName,
    			DomainName1: defaultDomain.Name,
    			DomainName2: sharedServiceDomain.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = aviatrix.NewAviatrixAwsTgwNetworkDomain(ctx, "test", &aviatrix.AviatrixAwsTgwNetworkDomainArgs{
    			TgwName: testAwsTgw.TgwName,
    		}, pulumi.DependsOn([]pulumi.Resource{
    			defaultDomain,
    			sharedServiceDomain,
    			aviatrixEdgeDomain,
    		}))
    		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.AviatrixAwsTgwNetworkDomain;
    import com.pulumi.aviatrix.AviatrixAwsTgwNetworkDomainArgs;
    import com.pulumi.aviatrix.AviatrixAwsTgwSecurityDomainConn;
    import com.pulumi.aviatrix.AviatrixAwsTgwSecurityDomainConnArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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")
                .region("us-east-1")
                .tgwName("test-AWS-TGW")
                .manageSecurityDomain(false)
                .manageVpcAttachment(false)
                .manageTransitGatewayAttachment(false)
                .build());
    
            var defaultDomain = new AviatrixAwsTgwNetworkDomain("defaultDomain", AviatrixAwsTgwNetworkDomainArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .build());
    
            var sharedServiceDomain = new AviatrixAwsTgwNetworkDomain("sharedServiceDomain", AviatrixAwsTgwNetworkDomainArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .build());
    
            var aviatrixEdgeDomain = new AviatrixAwsTgwNetworkDomain("aviatrixEdgeDomain", AviatrixAwsTgwNetworkDomainArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .build());
    
            var defaultSdConn1 = new AviatrixAwsTgwSecurityDomainConn("defaultSdConn1", AviatrixAwsTgwSecurityDomainConnArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .domainName1(aviatrixEdgeDomain.name())
                .domainName2(defaultDomain.name())
                .build());
    
            var defaultSdConn2 = new AviatrixAwsTgwSecurityDomainConn("defaultSdConn2", AviatrixAwsTgwSecurityDomainConnArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .domainName1(aviatrixEdgeDomain.name())
                .domainName2(sharedServiceDomain.name())
                .build());
    
            var defaultSdConn3 = new AviatrixAwsTgwSecurityDomainConn("defaultSdConn3", AviatrixAwsTgwSecurityDomainConnArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .domainName1(defaultDomain.name())
                .domainName2(sharedServiceDomain.name())
                .build());
    
            var test = new AviatrixAwsTgwNetworkDomain("test", AviatrixAwsTgwNetworkDomainArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(                
                        defaultDomain,
                        sharedServiceDomain,
                        aviatrixEdgeDomain)
                    .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix AWS TGW network domain
    test_aws_tgw = aviatrix.AviatrixAwsTgw("testAwsTgw",
        account_name="devops",
        aws_side_as_number="64512",
        region="us-east-1",
        tgw_name="test-AWS-TGW",
        manage_security_domain=False,
        manage_vpc_attachment=False,
        manage_transit_gateway_attachment=False)
    default_domain = aviatrix.AviatrixAwsTgwNetworkDomain("defaultDomain", tgw_name=test_aws_tgw.tgw_name)
    shared_service_domain = aviatrix.AviatrixAwsTgwNetworkDomain("sharedServiceDomain", tgw_name=test_aws_tgw.tgw_name)
    aviatrix_edge_domain = aviatrix.AviatrixAwsTgwNetworkDomain("aviatrixEdgeDomain", tgw_name=test_aws_tgw.tgw_name)
    default_sd_conn1 = aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn1",
        tgw_name=test_aws_tgw.tgw_name,
        domain_name1=aviatrix_edge_domain.name,
        domain_name2=default_domain.name)
    default_sd_conn2 = aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn2",
        tgw_name=test_aws_tgw.tgw_name,
        domain_name1=aviatrix_edge_domain.name,
        domain_name2=shared_service_domain.name)
    default_sd_conn3 = aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn3",
        tgw_name=test_aws_tgw.tgw_name,
        domain_name1=default_domain.name,
        domain_name2=shared_service_domain.name)
    test = aviatrix.AviatrixAwsTgwNetworkDomain("test", tgw_name=test_aws_tgw.tgw_name,
    opts=pulumi.ResourceOptions(depends_on=[
            default_domain,
            shared_service_domain,
            aviatrix_edge_domain,
        ]))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@astipkovits/aviatrix";
    
    // Create an Aviatrix AWS TGW network domain
    const testAwsTgw = new aviatrix.AviatrixAwsTgw("testAwsTgw", {
        accountName: "devops",
        awsSideAsNumber: "64512",
        region: "us-east-1",
        tgwName: "test-AWS-TGW",
        manageSecurityDomain: false,
        manageVpcAttachment: false,
        manageTransitGatewayAttachment: false,
    });
    const defaultDomain = new aviatrix.AviatrixAwsTgwNetworkDomain("defaultDomain", {tgwName: testAwsTgw.tgwName});
    const sharedServiceDomain = new aviatrix.AviatrixAwsTgwNetworkDomain("sharedServiceDomain", {tgwName: testAwsTgw.tgwName});
    const aviatrixEdgeDomain = new aviatrix.AviatrixAwsTgwNetworkDomain("aviatrixEdgeDomain", {tgwName: testAwsTgw.tgwName});
    const defaultSdConn1 = new aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn1", {
        tgwName: testAwsTgw.tgwName,
        domainName1: aviatrixEdgeDomain.name,
        domainName2: defaultDomain.name,
    });
    const defaultSdConn2 = new aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn2", {
        tgwName: testAwsTgw.tgwName,
        domainName1: aviatrixEdgeDomain.name,
        domainName2: sharedServiceDomain.name,
    });
    const defaultSdConn3 = new aviatrix.AviatrixAwsTgwSecurityDomainConn("defaultSdConn3", {
        tgwName: testAwsTgw.tgwName,
        domainName1: defaultDomain.name,
        domainName2: sharedServiceDomain.name,
    });
    const test = new aviatrix.AviatrixAwsTgwNetworkDomain("test", {tgwName: testAwsTgw.tgwName}, {
        dependsOn: [
            defaultDomain,
            sharedServiceDomain,
            aviatrixEdgeDomain,
        ],
    });
    
    resources:
      # Create an Aviatrix AWS TGW network domain
      testAwsTgw:
        type: aviatrix:AviatrixAwsTgw
        properties:
          accountName: devops
          awsSideAsNumber: '64512'
          region: us-east-1
          tgwName: test-AWS-TGW
          manageSecurityDomain: false
          manageVpcAttachment: false
          manageTransitGatewayAttachment: false
      defaultDomain:
        type: aviatrix:AviatrixAwsTgwNetworkDomain
        properties:
          tgwName: ${testAwsTgw.tgwName}
      sharedServiceDomain:
        type: aviatrix:AviatrixAwsTgwNetworkDomain
        properties:
          tgwName: ${testAwsTgw.tgwName}
      aviatrixEdgeDomain:
        type: aviatrix:AviatrixAwsTgwNetworkDomain
        properties:
          tgwName: ${testAwsTgw.tgwName}
      defaultSdConn1:
        type: aviatrix:AviatrixAwsTgwSecurityDomainConn
        properties:
          tgwName: ${testAwsTgw.tgwName}
          domainName1: ${aviatrixEdgeDomain.name}
          domainName2: ${defaultDomain.name}
      defaultSdConn2:
        type: aviatrix:AviatrixAwsTgwSecurityDomainConn
        properties:
          tgwName: ${testAwsTgw.tgwName}
          domainName1: ${aviatrixEdgeDomain.name}
          domainName2: ${sharedServiceDomain.name}
      defaultSdConn3:
        type: aviatrix:AviatrixAwsTgwSecurityDomainConn
        properties:
          tgwName: ${testAwsTgw.tgwName}
          domainName1: ${defaultDomain.name}
          domainName2: ${sharedServiceDomain.name}
      test:
        type: aviatrix:AviatrixAwsTgwNetworkDomain
        properties:
          tgwName: ${testAwsTgw.tgwName}
        options:
          dependson:
            - ${defaultDomain}
            - ${sharedServiceDomain}
            - ${aviatrixEdgeDomain}
    

    Create AviatrixAwsTgwNetworkDomain Resource

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

    Constructor syntax

    new AviatrixAwsTgwNetworkDomain(name: string, args: AviatrixAwsTgwNetworkDomainArgs, opts?: CustomResourceOptions);
    @overload
    def AviatrixAwsTgwNetworkDomain(resource_name: str,
                                    args: AviatrixAwsTgwNetworkDomainArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AviatrixAwsTgwNetworkDomain(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    tgw_name: Optional[str] = None,
                                    aviatrix_firewall: Optional[bool] = None,
                                    name: Optional[str] = None,
                                    native_egress: Optional[bool] = None,
                                    native_firewall: Optional[bool] = None)
    func NewAviatrixAwsTgwNetworkDomain(ctx *Context, name string, args AviatrixAwsTgwNetworkDomainArgs, opts ...ResourceOption) (*AviatrixAwsTgwNetworkDomain, error)
    public AviatrixAwsTgwNetworkDomain(string name, AviatrixAwsTgwNetworkDomainArgs args, CustomResourceOptions? opts = null)
    public AviatrixAwsTgwNetworkDomain(String name, AviatrixAwsTgwNetworkDomainArgs args)
    public AviatrixAwsTgwNetworkDomain(String name, AviatrixAwsTgwNetworkDomainArgs args, CustomResourceOptions options)
    
    type: aviatrix:AviatrixAwsTgwNetworkDomain
    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 AviatrixAwsTgwNetworkDomainArgs
    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 AviatrixAwsTgwNetworkDomainArgs
    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 AviatrixAwsTgwNetworkDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AviatrixAwsTgwNetworkDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AviatrixAwsTgwNetworkDomainArgs
    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 aviatrixAwsTgwNetworkDomainResource = new Aviatrix.AviatrixAwsTgwNetworkDomain("aviatrixAwsTgwNetworkDomainResource", new()
    {
        TgwName = "string",
        AviatrixFirewall = false,
        Name = "string",
        NativeEgress = false,
        NativeFirewall = false,
    });
    
    example, err := aviatrix.NewAviatrixAwsTgwNetworkDomain(ctx, "aviatrixAwsTgwNetworkDomainResource", &aviatrix.AviatrixAwsTgwNetworkDomainArgs{
    	TgwName:          pulumi.String("string"),
    	AviatrixFirewall: pulumi.Bool(false),
    	Name:             pulumi.String("string"),
    	NativeEgress:     pulumi.Bool(false),
    	NativeFirewall:   pulumi.Bool(false),
    })
    
    var aviatrixAwsTgwNetworkDomainResource = new AviatrixAwsTgwNetworkDomain("aviatrixAwsTgwNetworkDomainResource", AviatrixAwsTgwNetworkDomainArgs.builder()
        .tgwName("string")
        .aviatrixFirewall(false)
        .name("string")
        .nativeEgress(false)
        .nativeFirewall(false)
        .build());
    
    aviatrix_aws_tgw_network_domain_resource = aviatrix.AviatrixAwsTgwNetworkDomain("aviatrixAwsTgwNetworkDomainResource",
        tgw_name="string",
        aviatrix_firewall=False,
        name="string",
        native_egress=False,
        native_firewall=False)
    
    const aviatrixAwsTgwNetworkDomainResource = new aviatrix.AviatrixAwsTgwNetworkDomain("aviatrixAwsTgwNetworkDomainResource", {
        tgwName: "string",
        aviatrixFirewall: false,
        name: "string",
        nativeEgress: false,
        nativeFirewall: false,
    });
    
    type: aviatrix:AviatrixAwsTgwNetworkDomain
    properties:
        aviatrixFirewall: false
        name: string
        nativeEgress: false
        nativeFirewall: false
        tgwName: string
    

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

    TgwName string
    The AWS TGW name of the network domain.
    AviatrixFirewall bool
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    Name string
    The name of the network domain.
    NativeEgress bool
    Set to true if the network 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 network 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.
    TgwName string
    The AWS TGW name of the network domain.
    AviatrixFirewall bool
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    Name string
    The name of the network domain.
    NativeEgress bool
    Set to true if the network 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 network 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.
    tgwName String
    The AWS TGW name of the network domain.
    aviatrixFirewall Boolean
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the network domain.
    nativeEgress Boolean
    Set to true if the network 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 network 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.
    tgwName string
    The AWS TGW name of the network domain.
    aviatrixFirewall boolean
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name string
    The name of the network domain.
    nativeEgress boolean
    Set to true if the network 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 network 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.
    tgw_name str
    The AWS TGW name of the network domain.
    aviatrix_firewall bool
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name str
    The name of the network domain.
    native_egress bool
    Set to true if the network 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 network 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.
    tgwName String
    The AWS TGW name of the network domain.
    aviatrixFirewall Boolean
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the network domain.
    nativeEgress Boolean
    Set to true if the network 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 network 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.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AviatrixAwsTgwNetworkDomain Resource

    Get an existing AviatrixAwsTgwNetworkDomain 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?: AviatrixAwsTgwNetworkDomainState, opts?: CustomResourceOptions): AviatrixAwsTgwNetworkDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aviatrix_firewall: Optional[bool] = None,
            name: Optional[str] = None,
            native_egress: Optional[bool] = None,
            native_firewall: Optional[bool] = None,
            tgw_name: Optional[str] = None) -> AviatrixAwsTgwNetworkDomain
    func GetAviatrixAwsTgwNetworkDomain(ctx *Context, name string, id IDInput, state *AviatrixAwsTgwNetworkDomainState, opts ...ResourceOption) (*AviatrixAwsTgwNetworkDomain, error)
    public static AviatrixAwsTgwNetworkDomain Get(string name, Input<string> id, AviatrixAwsTgwNetworkDomainState? state, CustomResourceOptions? opts = null)
    public static AviatrixAwsTgwNetworkDomain get(String name, Output<String> id, AviatrixAwsTgwNetworkDomainState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AviatrixFirewall bool
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    Name string
    The name of the network domain.
    NativeEgress bool
    Set to true if the network 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 network 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.
    TgwName string
    The AWS TGW name of the network domain.
    AviatrixFirewall bool
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    Name string
    The name of the network domain.
    NativeEgress bool
    Set to true if the network 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 network 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.
    TgwName string
    The AWS TGW name of the network domain.
    aviatrixFirewall Boolean
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the network domain.
    nativeEgress Boolean
    Set to true if the network 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 network 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.
    tgwName String
    The AWS TGW name of the network domain.
    aviatrixFirewall boolean
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name string
    The name of the network domain.
    nativeEgress boolean
    Set to true if the network 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 network 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.
    tgwName string
    The AWS TGW name of the network domain.
    aviatrix_firewall bool
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name str
    The name of the network domain.
    native_egress bool
    Set to true if the network 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 network 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.
    tgw_name str
    The AWS TGW name of the network domain.
    aviatrixFirewall Boolean
    Set to true if the network domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the network domain.
    nativeEgress Boolean
    Set to true if the network 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 network 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.
    tgwName String
    The AWS TGW name of the network domain.

    Import

    aws_tgw_network_domain can be imported using the name and tgw_name, e.g.

     $ pulumi import aviatrix:index/aviatrixAwsTgwNetworkDomain:AviatrixAwsTgwNetworkDomain test tgw_name~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.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix