aviatrix.AviatrixAwsTgwSecurityDomainConn

!> WARNING: Resource ‘aviatrix_aws_tgw_security_domain_connection’ will be deprecated in future releases. Please use resource ‘aviatrix_aws_tgw_peering_domain_conn’ instead.

The aviatrix_aws_tgw_security_domain_connection resource allows the creation and management of the connections between security domains in an AWS TGW.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    // Create an Aviatrix Security Domain Connection
    var test = new Aviatrix.AviatrixAwsTgwSecurityDomainConn("test", new()
    {
        DomainName1 = "domain1",
        DomainName2 = "domain2",
        TgwName = "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.NewAviatrixAwsTgwSecurityDomainConn(ctx, "test", &aviatrix.AviatrixAwsTgwSecurityDomainConnArgs{
			DomainName1: pulumi.String("domain1"),
			DomainName2: pulumi.String("domain2"),
			TgwName:     pulumi.String("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.AviatrixAwsTgwSecurityDomainConn;
import com.pulumi.aviatrix.AviatrixAwsTgwSecurityDomainConnArgs;
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 test = new AviatrixAwsTgwSecurityDomainConn("test", AviatrixAwsTgwSecurityDomainConnArgs.builder()        
            .domainName1("domain1")
            .domainName2("domain2")
            .tgwName("tgw")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

# Create an Aviatrix Security Domain Connection
test = aviatrix.AviatrixAwsTgwSecurityDomainConn("test",
    domain_name1="domain1",
    domain_name2="domain2",
    tgw_name="tgw")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Create an Aviatrix Security Domain Connection
const test = new aviatrix.AviatrixAwsTgwSecurityDomainConn("test", {
    domainName1: "domain1",
    domainName2: "domain2",
    tgwName: "tgw",
});
resources:
  # Create an Aviatrix Security Domain Connection
  test:
    type: aviatrix:AviatrixAwsTgwSecurityDomainConn
    properties:
      domainName1: domain1
      domainName2: domain2
      tgwName: tgw

Create AviatrixAwsTgwSecurityDomainConn Resource

new AviatrixAwsTgwSecurityDomainConn(name: string, args: AviatrixAwsTgwSecurityDomainConnArgs, opts?: CustomResourceOptions);
@overload
def AviatrixAwsTgwSecurityDomainConn(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     domain_name1: Optional[str] = None,
                                     domain_name2: Optional[str] = None,
                                     tgw_name: Optional[str] = None)
@overload
def AviatrixAwsTgwSecurityDomainConn(resource_name: str,
                                     args: AviatrixAwsTgwSecurityDomainConnArgs,
                                     opts: Optional[ResourceOptions] = None)
func NewAviatrixAwsTgwSecurityDomainConn(ctx *Context, name string, args AviatrixAwsTgwSecurityDomainConnArgs, opts ...ResourceOption) (*AviatrixAwsTgwSecurityDomainConn, error)
public AviatrixAwsTgwSecurityDomainConn(string name, AviatrixAwsTgwSecurityDomainConnArgs args, CustomResourceOptions? opts = null)
public AviatrixAwsTgwSecurityDomainConn(String name, AviatrixAwsTgwSecurityDomainConnArgs args)
public AviatrixAwsTgwSecurityDomainConn(String name, AviatrixAwsTgwSecurityDomainConnArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixAwsTgwSecurityDomainConn
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

DomainName1 string

The name of a security domain to make a connection.

DomainName2 string

The name of another security domain to make a connection.

TgwName string

The AWS TGW name.

DomainName1 string

The name of a security domain to make a connection.

DomainName2 string

The name of another security domain to make a connection.

TgwName string

The AWS TGW name.

domainName1 String

The name of a security domain to make a connection.

domainName2 String

The name of another security domain to make a connection.

tgwName String

The AWS TGW name.

domainName1 string

The name of a security domain to make a connection.

domainName2 string

The name of another security domain to make a connection.

tgwName string

The AWS TGW name.

domain_name1 str

The name of a security domain to make a connection.

domain_name2 str

The name of another security domain to make a connection.

tgw_name str

The AWS TGW name.

domainName1 String

The name of a security domain to make a connection.

domainName2 String

The name of another security domain to make a connection.

tgwName String

The AWS TGW name.

Outputs

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

Get an existing AviatrixAwsTgwSecurityDomainConn 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?: AviatrixAwsTgwSecurityDomainConnState, opts?: CustomResourceOptions): AviatrixAwsTgwSecurityDomainConn
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        domain_name1: Optional[str] = None,
        domain_name2: Optional[str] = None,
        tgw_name: Optional[str] = None) -> AviatrixAwsTgwSecurityDomainConn
func GetAviatrixAwsTgwSecurityDomainConn(ctx *Context, name string, id IDInput, state *AviatrixAwsTgwSecurityDomainConnState, opts ...ResourceOption) (*AviatrixAwsTgwSecurityDomainConn, error)
public static AviatrixAwsTgwSecurityDomainConn Get(string name, Input<string> id, AviatrixAwsTgwSecurityDomainConnState? state, CustomResourceOptions? opts = null)
public static AviatrixAwsTgwSecurityDomainConn get(String name, Output<String> id, AviatrixAwsTgwSecurityDomainConnState 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:
DomainName1 string

The name of a security domain to make a connection.

DomainName2 string

The name of another security domain to make a connection.

TgwName string

The AWS TGW name.

DomainName1 string

The name of a security domain to make a connection.

DomainName2 string

The name of another security domain to make a connection.

TgwName string

The AWS TGW name.

domainName1 String

The name of a security domain to make a connection.

domainName2 String

The name of another security domain to make a connection.

tgwName String

The AWS TGW name.

domainName1 string

The name of a security domain to make a connection.

domainName2 string

The name of another security domain to make a connection.

tgwName string

The AWS TGW name.

domain_name1 str

The name of a security domain to make a connection.

domain_name2 str

The name of another security domain to make a connection.

tgw_name str

The AWS TGW name.

domainName1 String

The name of a security domain to make a connection.

domainName2 String

The name of another security domain to make a connection.

tgwName String

The AWS TGW name.

Import

aws_tgw_security_domain_connection can be imported using the tgw_name, domain_name1 and domain_name2, e.g.

 $ pulumi import aviatrix:index/aviatrixAwsTgwSecurityDomainConn:AviatrixAwsTgwSecurityDomainConn test tgw_name~domain_name1~domain_name2

Package Details

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

This Pulumi package is based on the aviatrix Terraform Provider.