1. Packages
  2. AWS
  3. API Docs
  4. networkmanager
  5. DxGatewayAttachment
AWS v6.78.0 published on Thursday, Apr 24, 2025 by Pulumi

aws.networkmanager.DxGatewayAttachment

Explore with Pulumi AI

Resource for managing an AWS Network Manager Direct Connect (DX) Gateway Attachment.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.networkmanager.DxGatewayAttachment("test", {
    coreNetworkId: testAwsNetworkmanagerCoreNetworkPolicyAttachment.coreNetworkId,
    directConnectGatewayArn: `arn:aws:directconnect::${current.accountId}:dx-gateway/${testAwsDxGateway.id}`,
    edgeLocations: [currentAwsRegion.name],
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.networkmanager.DxGatewayAttachment("test",
    core_network_id=test_aws_networkmanager_core_network_policy_attachment["coreNetworkId"],
    direct_connect_gateway_arn=f"arn:aws:directconnect::{current['accountId']}:dx-gateway/{test_aws_dx_gateway['id']}",
    edge_locations=[current_aws_region["name"]])
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/networkmanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkmanager.NewDxGatewayAttachment(ctx, "test", &networkmanager.DxGatewayAttachmentArgs{
			CoreNetworkId:           pulumi.Any(testAwsNetworkmanagerCoreNetworkPolicyAttachment.CoreNetworkId),
			DirectConnectGatewayArn: pulumi.Sprintf("arn:aws:directconnect::%v:dx-gateway/%v", current.AccountId, testAwsDxGateway.Id),
			EdgeLocations: pulumi.StringArray{
				currentAwsRegion.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.NetworkManager.DxGatewayAttachment("test", new()
    {
        CoreNetworkId = testAwsNetworkmanagerCoreNetworkPolicyAttachment.CoreNetworkId,
        DirectConnectGatewayArn = $"arn:aws:directconnect::{current.AccountId}:dx-gateway/{testAwsDxGateway.Id}",
        EdgeLocations = new[]
        {
            currentAwsRegion.Name,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.DxGatewayAttachment;
import com.pulumi.aws.networkmanager.DxGatewayAttachmentArgs;
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 DxGatewayAttachment("test", DxGatewayAttachmentArgs.builder()
            .coreNetworkId(testAwsNetworkmanagerCoreNetworkPolicyAttachment.coreNetworkId())
            .directConnectGatewayArn(String.format("arn:aws:directconnect::%s:dx-gateway/%s", current.accountId(),testAwsDxGateway.id()))
            .edgeLocations(currentAwsRegion.name())
            .build());

    }
}
Copy
resources:
  test:
    type: aws:networkmanager:DxGatewayAttachment
    properties:
      coreNetworkId: ${testAwsNetworkmanagerCoreNetworkPolicyAttachment.coreNetworkId}
      directConnectGatewayArn: arn:aws:directconnect::${current.accountId}:dx-gateway/${testAwsDxGateway.id}
      edgeLocations:
        - ${currentAwsRegion.name}
Copy

Create DxGatewayAttachment Resource

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

Constructor syntax

new DxGatewayAttachment(name: string, args: DxGatewayAttachmentArgs, opts?: CustomResourceOptions);
@overload
def DxGatewayAttachment(resource_name: str,
                        args: DxGatewayAttachmentArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def DxGatewayAttachment(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        core_network_id: Optional[str] = None,
                        direct_connect_gateway_arn: Optional[str] = None,
                        edge_locations: Optional[Sequence[str]] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        timeouts: Optional[DxGatewayAttachmentTimeoutsArgs] = None)
func NewDxGatewayAttachment(ctx *Context, name string, args DxGatewayAttachmentArgs, opts ...ResourceOption) (*DxGatewayAttachment, error)
public DxGatewayAttachment(string name, DxGatewayAttachmentArgs args, CustomResourceOptions? opts = null)
public DxGatewayAttachment(String name, DxGatewayAttachmentArgs args)
public DxGatewayAttachment(String name, DxGatewayAttachmentArgs args, CustomResourceOptions options)
type: aws:networkmanager:DxGatewayAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DxGatewayAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DxGatewayAttachmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DxGatewayAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DxGatewayAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DxGatewayAttachmentArgs
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 dxGatewayAttachmentResource = new Aws.NetworkManager.DxGatewayAttachment("dxGatewayAttachmentResource", new()
{
    CoreNetworkId = "string",
    DirectConnectGatewayArn = "string",
    EdgeLocations = new[]
    {
        "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Aws.NetworkManager.Inputs.DxGatewayAttachmentTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := networkmanager.NewDxGatewayAttachment(ctx, "dxGatewayAttachmentResource", &networkmanager.DxGatewayAttachmentArgs{
	CoreNetworkId:           pulumi.String("string"),
	DirectConnectGatewayArn: pulumi.String("string"),
	EdgeLocations: pulumi.StringArray{
		pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &networkmanager.DxGatewayAttachmentTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
Copy
var dxGatewayAttachmentResource = new DxGatewayAttachment("dxGatewayAttachmentResource", DxGatewayAttachmentArgs.builder()
    .coreNetworkId("string")
    .directConnectGatewayArn("string")
    .edgeLocations("string")
    .tags(Map.of("string", "string"))
    .timeouts(DxGatewayAttachmentTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
dx_gateway_attachment_resource = aws.networkmanager.DxGatewayAttachment("dxGatewayAttachmentResource",
    core_network_id="string",
    direct_connect_gateway_arn="string",
    edge_locations=["string"],
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const dxGatewayAttachmentResource = new aws.networkmanager.DxGatewayAttachment("dxGatewayAttachmentResource", {
    coreNetworkId: "string",
    directConnectGatewayArn: "string",
    edgeLocations: ["string"],
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: aws:networkmanager:DxGatewayAttachment
properties:
    coreNetworkId: string
    directConnectGatewayArn: string
    edgeLocations:
        - string
    tags:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
Copy

DxGatewayAttachment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DxGatewayAttachment resource accepts the following input properties:

CoreNetworkId This property is required. string
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
DirectConnectGatewayArn This property is required. string
ARN of the Direct Connect gateway attachment.
EdgeLocations This property is required. List<string>

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

Tags Dictionary<string, string>
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Timeouts DxGatewayAttachmentTimeouts
CoreNetworkId This property is required. string
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
DirectConnectGatewayArn This property is required. string
ARN of the Direct Connect gateway attachment.
EdgeLocations This property is required. []string

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

Tags map[string]string
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Timeouts DxGatewayAttachmentTimeoutsArgs
coreNetworkId This property is required. String
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
directConnectGatewayArn This property is required. String
ARN of the Direct Connect gateway attachment.
edgeLocations This property is required. List<String>

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

tags Map<String,String>
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts DxGatewayAttachmentTimeouts
coreNetworkId This property is required. string
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
directConnectGatewayArn This property is required. string
ARN of the Direct Connect gateway attachment.
edgeLocations This property is required. string[]

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

tags {[key: string]: string}
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts DxGatewayAttachmentTimeouts
core_network_id This property is required. str
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
direct_connect_gateway_arn This property is required. str
ARN of the Direct Connect gateway attachment.
edge_locations This property is required. Sequence[str]

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

tags Mapping[str, str]
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts DxGatewayAttachmentTimeoutsArgs
coreNetworkId This property is required. String
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
directConnectGatewayArn This property is required. String
ARN of the Direct Connect gateway attachment.
edgeLocations This property is required. List<String>

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

tags Map<String>
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts Property Map

Outputs

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

Arn string
AttachmentPolicyRuleNumber int
Policy rule number associated with the attachment.
AttachmentType string
Type of attachment.
CoreNetworkArn string
ARN of the core network for the attachment.
Id string
The provider-assigned unique ID for this managed resource.
OwnerAccountId string
ID of the attachment account owner.
SegmentName string
Name of the segment attachment.
State string
State of the attachment.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
AttachmentPolicyRuleNumber int
Policy rule number associated with the attachment.
AttachmentType string
Type of attachment.
CoreNetworkArn string
ARN of the core network for the attachment.
Id string
The provider-assigned unique ID for this managed resource.
OwnerAccountId string
ID of the attachment account owner.
SegmentName string
Name of the segment attachment.
State string
State of the attachment.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
attachmentPolicyRuleNumber Integer
Policy rule number associated with the attachment.
attachmentType String
Type of attachment.
coreNetworkArn String
ARN of the core network for the attachment.
id String
The provider-assigned unique ID for this managed resource.
ownerAccountId String
ID of the attachment account owner.
segmentName String
Name of the segment attachment.
state String
State of the attachment.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
attachmentPolicyRuleNumber number
Policy rule number associated with the attachment.
attachmentType string
Type of attachment.
coreNetworkArn string
ARN of the core network for the attachment.
id string
The provider-assigned unique ID for this managed resource.
ownerAccountId string
ID of the attachment account owner.
segmentName string
Name of the segment attachment.
state string
State of the attachment.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
attachment_policy_rule_number int
Policy rule number associated with the attachment.
attachment_type str
Type of attachment.
core_network_arn str
ARN of the core network for the attachment.
id str
The provider-assigned unique ID for this managed resource.
owner_account_id str
ID of the attachment account owner.
segment_name str
Name of the segment attachment.
state str
State of the attachment.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
attachmentPolicyRuleNumber Number
Policy rule number associated with the attachment.
attachmentType String
Type of attachment.
coreNetworkArn String
ARN of the core network for the attachment.
id String
The provider-assigned unique ID for this managed resource.
ownerAccountId String
ID of the attachment account owner.
segmentName String
Name of the segment attachment.
state String
State of the attachment.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing DxGatewayAttachment Resource

Get an existing DxGatewayAttachment 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?: DxGatewayAttachmentState, opts?: CustomResourceOptions): DxGatewayAttachment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        attachment_policy_rule_number: Optional[int] = None,
        attachment_type: Optional[str] = None,
        core_network_arn: Optional[str] = None,
        core_network_id: Optional[str] = None,
        direct_connect_gateway_arn: Optional[str] = None,
        edge_locations: Optional[Sequence[str]] = None,
        owner_account_id: Optional[str] = None,
        segment_name: Optional[str] = None,
        state: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        timeouts: Optional[DxGatewayAttachmentTimeoutsArgs] = None) -> DxGatewayAttachment
func GetDxGatewayAttachment(ctx *Context, name string, id IDInput, state *DxGatewayAttachmentState, opts ...ResourceOption) (*DxGatewayAttachment, error)
public static DxGatewayAttachment Get(string name, Input<string> id, DxGatewayAttachmentState? state, CustomResourceOptions? opts = null)
public static DxGatewayAttachment get(String name, Output<String> id, DxGatewayAttachmentState state, CustomResourceOptions options)
resources:  _:    type: aws:networkmanager:DxGatewayAttachment    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Arn string
AttachmentPolicyRuleNumber int
Policy rule number associated with the attachment.
AttachmentType string
Type of attachment.
CoreNetworkArn string
ARN of the core network for the attachment.
CoreNetworkId string
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
DirectConnectGatewayArn string
ARN of the Direct Connect gateway attachment.
EdgeLocations List<string>

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

OwnerAccountId string
ID of the attachment account owner.
SegmentName string
Name of the segment attachment.
State string
State of the attachment.
Tags Dictionary<string, string>
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Timeouts DxGatewayAttachmentTimeouts
Arn string
AttachmentPolicyRuleNumber int
Policy rule number associated with the attachment.
AttachmentType string
Type of attachment.
CoreNetworkArn string
ARN of the core network for the attachment.
CoreNetworkId string
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
DirectConnectGatewayArn string
ARN of the Direct Connect gateway attachment.
EdgeLocations []string

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

OwnerAccountId string
ID of the attachment account owner.
SegmentName string
Name of the segment attachment.
State string
State of the attachment.
Tags map[string]string
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Timeouts DxGatewayAttachmentTimeoutsArgs
arn String
attachmentPolicyRuleNumber Integer
Policy rule number associated with the attachment.
attachmentType String
Type of attachment.
coreNetworkArn String
ARN of the core network for the attachment.
coreNetworkId String
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
directConnectGatewayArn String
ARN of the Direct Connect gateway attachment.
edgeLocations List<String>

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

ownerAccountId String
ID of the attachment account owner.
segmentName String
Name of the segment attachment.
state String
State of the attachment.
tags Map<String,String>
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts DxGatewayAttachmentTimeouts
arn string
attachmentPolicyRuleNumber number
Policy rule number associated with the attachment.
attachmentType string
Type of attachment.
coreNetworkArn string
ARN of the core network for the attachment.
coreNetworkId string
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
directConnectGatewayArn string
ARN of the Direct Connect gateway attachment.
edgeLocations string[]

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

ownerAccountId string
ID of the attachment account owner.
segmentName string
Name of the segment attachment.
state string
State of the attachment.
tags {[key: string]: string}
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts DxGatewayAttachmentTimeouts
arn str
attachment_policy_rule_number int
Policy rule number associated with the attachment.
attachment_type str
Type of attachment.
core_network_arn str
ARN of the core network for the attachment.
core_network_id str
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
direct_connect_gateway_arn str
ARN of the Direct Connect gateway attachment.
edge_locations Sequence[str]

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

owner_account_id str
ID of the attachment account owner.
segment_name str
Name of the segment attachment.
state str
State of the attachment.
tags Mapping[str, str]
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts DxGatewayAttachmentTimeoutsArgs
arn String
attachmentPolicyRuleNumber Number
Policy rule number associated with the attachment.
attachmentType String
Type of attachment.
coreNetworkArn String
ARN of the core network for the attachment.
coreNetworkId String
ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
directConnectGatewayArn String
ARN of the Direct Connect gateway attachment.
edgeLocations List<String>

One or more core network edge locations to associate with the Direct Connect gateway attachment.

The following arguments are optional:

ownerAccountId String
ID of the attachment account owner.
segmentName String
Name of the segment attachment.
state String
State of the attachment.
tags Map<String>
Key-value tags for the attachment. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts Property Map

Supporting Types

DxGatewayAttachmentTimeouts
, DxGatewayAttachmentTimeoutsArgs

Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Import

Using pulumi import, import Network Manager DX Gateway Attachment using the id. For example:

$ pulumi import aws:networkmanager/dxGatewayAttachment:DxGatewayAttachment example attachment-1a2b3c4d5e6f7g
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.