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

aviatrix.AviatrixAwsTgwSecurityDomain

Explore with Pulumi AI

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

    !> WARNING: Resource aviatrix_aws_tgw_security_domain will be deprecated in future releases. Please use resource aviatrix_aws_tgw_network_domain instead.

    The aviatrix_aws_tgw_security_domain resource allows the creation and management of Aviatrix security domains.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        // Create an Aviatrix AWS TGW security 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.AviatrixAwsTgwSecurityDomain("defaultDomain", new()
        {
            TgwName = testAwsTgw.TgwName,
        });
    
        var sharedServiceDomain = new Aviatrix.AviatrixAwsTgwSecurityDomain("sharedServiceDomain", new()
        {
            TgwName = testAwsTgw.TgwName,
        });
    
        var aviatrixEdgeDomain = new Aviatrix.AviatrixAwsTgwSecurityDomain("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.AviatrixAwsTgwSecurityDomain("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.NewAviatrixAwsTgwSecurityDomain(ctx, "defaultDomain", &aviatrix.AviatrixAwsTgwSecurityDomainArgs{
    			TgwName: testAwsTgw.TgwName,
    		})
    		if err != nil {
    			return err
    		}
    		sharedServiceDomain, err := aviatrix.NewAviatrixAwsTgwSecurityDomain(ctx, "sharedServiceDomain", &aviatrix.AviatrixAwsTgwSecurityDomainArgs{
    			TgwName: testAwsTgw.TgwName,
    		})
    		if err != nil {
    			return err
    		}
    		aviatrixEdgeDomain, err := aviatrix.NewAviatrixAwsTgwSecurityDomain(ctx, "aviatrixEdgeDomain", &aviatrix.AviatrixAwsTgwSecurityDomainArgs{
    			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.NewAviatrixAwsTgwSecurityDomain(ctx, "test", &aviatrix.AviatrixAwsTgwSecurityDomainArgs{
    			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.AviatrixAwsTgwSecurityDomain;
    import com.pulumi.aviatrix.AviatrixAwsTgwSecurityDomainArgs;
    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 AviatrixAwsTgwSecurityDomain("defaultDomain", AviatrixAwsTgwSecurityDomainArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .build());
    
            var sharedServiceDomain = new AviatrixAwsTgwSecurityDomain("sharedServiceDomain", AviatrixAwsTgwSecurityDomainArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .build());
    
            var aviatrixEdgeDomain = new AviatrixAwsTgwSecurityDomain("aviatrixEdgeDomain", AviatrixAwsTgwSecurityDomainArgs.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 AviatrixAwsTgwSecurityDomain("test", AviatrixAwsTgwSecurityDomainArgs.builder()        
                .tgwName(testAwsTgw.tgwName())
                .build(), CustomResourceOptions.builder()
                    .dependsOn(                
                        defaultDomain,
                        sharedServiceDomain,
                        aviatrixEdgeDomain)
                    .build());
    
        }
    }
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    # Create an Aviatrix AWS TGW security 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.AviatrixAwsTgwSecurityDomain("defaultDomain", tgw_name=test_aws_tgw.tgw_name)
    shared_service_domain = aviatrix.AviatrixAwsTgwSecurityDomain("sharedServiceDomain", tgw_name=test_aws_tgw.tgw_name)
    aviatrix_edge_domain = aviatrix.AviatrixAwsTgwSecurityDomain("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.AviatrixAwsTgwSecurityDomain("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 security 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.AviatrixAwsTgwSecurityDomain("defaultDomain", {tgwName: testAwsTgw.tgwName});
    const sharedServiceDomain = new aviatrix.AviatrixAwsTgwSecurityDomain("sharedServiceDomain", {tgwName: testAwsTgw.tgwName});
    const aviatrixEdgeDomain = new aviatrix.AviatrixAwsTgwSecurityDomain("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.AviatrixAwsTgwSecurityDomain("test", {tgwName: testAwsTgw.tgwName}, {
        dependsOn: [
            defaultDomain,
            sharedServiceDomain,
            aviatrixEdgeDomain,
        ],
    });
    
    resources:
      # Create an Aviatrix AWS TGW security 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:AviatrixAwsTgwSecurityDomain
        properties:
          tgwName: ${testAwsTgw.tgwName}
      sharedServiceDomain:
        type: aviatrix:AviatrixAwsTgwSecurityDomain
        properties:
          tgwName: ${testAwsTgw.tgwName}
      aviatrixEdgeDomain:
        type: aviatrix:AviatrixAwsTgwSecurityDomain
        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:AviatrixAwsTgwSecurityDomain
        properties:
          tgwName: ${testAwsTgw.tgwName}
        options:
          dependson:
            - ${defaultDomain}
            - ${sharedServiceDomain}
            - ${aviatrixEdgeDomain}
    

    Create AviatrixAwsTgwSecurityDomain Resource

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

    Constructor syntax

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

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

    TgwName string
    The AWS TGW name of the security domain.
    AviatrixFirewall bool
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    Name string
    The name of the security domain.
    NativeEgress bool
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    NativeFirewall bool
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    TgwName string
    The AWS TGW name of the security domain.
    AviatrixFirewall bool
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    Name string
    The name of the security domain.
    NativeEgress bool
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    NativeFirewall bool
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    tgwName String
    The AWS TGW name of the security domain.
    aviatrixFirewall Boolean
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the security domain.
    nativeEgress Boolean
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    nativeFirewall Boolean
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    tgwName string
    The AWS TGW name of the security domain.
    aviatrixFirewall boolean
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name string
    The name of the security domain.
    nativeEgress boolean
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    nativeFirewall boolean
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    tgw_name str
    The AWS TGW name of the security 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.
    name str
    The name of the security domain.
    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.
    tgwName String
    The AWS TGW name of the security domain.
    aviatrixFirewall Boolean
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the security domain.
    nativeEgress Boolean
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    nativeFirewall Boolean
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AviatrixAwsTgwSecurityDomain 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 AviatrixAwsTgwSecurityDomain Resource

    Get an existing AviatrixAwsTgwSecurityDomain 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?: AviatrixAwsTgwSecurityDomainState, opts?: CustomResourceOptions): AviatrixAwsTgwSecurityDomain
    @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) -> AviatrixAwsTgwSecurityDomain
    func GetAviatrixAwsTgwSecurityDomain(ctx *Context, name string, id IDInput, state *AviatrixAwsTgwSecurityDomainState, opts ...ResourceOption) (*AviatrixAwsTgwSecurityDomain, error)
    public static AviatrixAwsTgwSecurityDomain Get(string name, Input<string> id, AviatrixAwsTgwSecurityDomainState? state, CustomResourceOptions? opts = null)
    public static AviatrixAwsTgwSecurityDomain get(String name, Output<String> id, AviatrixAwsTgwSecurityDomainState 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 security 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 security domain.
    NativeEgress bool
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    NativeFirewall bool
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    TgwName string
    The AWS TGW name of the security domain.
    AviatrixFirewall bool
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    Name string
    The name of the security domain.
    NativeEgress bool
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    NativeFirewall bool
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    TgwName string
    The AWS TGW name of the security domain.
    aviatrixFirewall Boolean
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the security domain.
    nativeEgress Boolean
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    nativeFirewall Boolean
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    tgwName String
    The AWS TGW name of the security domain.
    aviatrixFirewall boolean
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name string
    The name of the security domain.
    nativeEgress boolean
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    nativeFirewall boolean
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    tgwName string
    The AWS TGW name of the security 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.
    name str
    The name of the security domain.
    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.
    tgw_name str
    The AWS TGW name of the security domain.
    aviatrixFirewall Boolean
    Set to true if the security domain is to be used as an Aviatrix Firewall Domain for the Aviatrix Firewall Network. Valid values: true, false. Default value: false.
    name String
    The name of the security domain.
    nativeEgress Boolean
    Set to true if the security domain is to be used as a native egress domain (for non-Aviatrix Firewall Network-based central Internet bound traffic). Valid values: true, false. Default value: false.
    nativeFirewall Boolean
    Set to true if the security domain is to be used as a native firewall domain (for non-Aviatrix Firewall Network-based firewall traffic inspection). Valid values: true, false. Default value: false.
    tgwName String
    The AWS TGW name of the security domain.

    Import

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

     $ pulumi import aviatrix:index/aviatrixAwsTgwSecurityDomain:AviatrixAwsTgwSecurityDomain 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