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],
});
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"]])
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
})
}
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,
},
});
});
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());
}
}
resources:
test:
type: aws:networkmanager:DxGatewayAttachment
properties:
coreNetworkId: ${testAwsNetworkmanagerCoreNetworkPolicyAttachment.coreNetworkId}
directConnectGatewayArn: arn:aws:directconnect::${current.accountId}:dx-gateway/${testAwsDxGateway.id}
edgeLocations:
- ${currentAwsRegion.name}
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 string
- The unique name of the resource.
- args DxGatewayAttachmentArgs
- 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 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 string
- The unique name of the resource.
- args DxGatewayAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DxGatewayAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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",
})
const dxGatewayAttachmentResource = new aws.networkmanager.DxGatewayAttachment("dxGatewayAttachmentResource", {
coreNetworkId: "string",
directConnectGatewayArn: "string",
edgeLocations: ["string"],
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:networkmanager:DxGatewayAttachment
properties:
coreNetworkId: string
directConnectGatewayArn: string
edgeLocations:
- string
tags:
string: string
timeouts:
create: string
delete: string
update: string
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:
- Core
Network stringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- Direct
Connect stringGateway Arn - ARN of the Direct Connect gateway attachment.
- Edge
Locations List<string> One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- 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
Dx
Gateway Attachment Timeouts
- Core
Network stringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- Direct
Connect stringGateway Arn - ARN of the Direct Connect gateway attachment.
- Edge
Locations []string One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- 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
Dx
Gateway Attachment Timeouts Args
- core
Network StringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct
Connect StringGateway Arn - ARN of the Direct Connect gateway attachment.
- edge
Locations List<String> One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- 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
Dx
Gateway Attachment Timeouts
- core
Network stringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct
Connect stringGateway Arn - ARN of the Direct Connect gateway attachment.
- edge
Locations string[] One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- {[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
Dx
Gateway Attachment Timeouts
- core_
network_ strid - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct_
connect_ strgateway_ arn - 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:
- 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
Dx
Gateway Attachment Timeouts Args
- core
Network StringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct
Connect StringGateway Arn - ARN of the Direct Connect gateway attachment.
- edge
Locations List<String> One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- 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
- Attachment
Policy intRule Number - Policy rule number associated with the attachment.
- Attachment
Type string - Type of attachment.
- Core
Network stringArn - ARN of the core network for the attachment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - ID of the attachment account owner.
- Segment
Name string - Name of the segment attachment.
- State string
- State of the attachment.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- Attachment
Policy intRule Number - Policy rule number associated with the attachment.
- Attachment
Type string - Type of attachment.
- Core
Network stringArn - ARN of the core network for the attachment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - ID of the attachment account owner.
- Segment
Name string - Name of the segment attachment.
- State string
- State of the attachment.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- attachment
Policy IntegerRule Number - Policy rule number associated with the attachment.
- attachment
Type String - Type of attachment.
- core
Network StringArn - ARN of the core network for the attachment.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - ID of the attachment account owner.
- segment
Name String - Name of the segment attachment.
- state String
- State of the attachment.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- attachment
Policy numberRule Number - Policy rule number associated with the attachment.
- attachment
Type string - Type of attachment.
- core
Network stringArn - ARN of the core network for the attachment.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Account stringId - ID of the attachment account owner.
- segment
Name string - Name of the segment attachment.
- state string
- State of the attachment.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- attachment_
policy_ intrule_ number - Policy rule number associated with the attachment.
- attachment_
type str - Type of attachment.
- core_
network_ strarn - ARN of the core network for the attachment.
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
account_ strid - ID of the attachment account owner.
- segment_
name str - Name of the segment attachment.
- state str
- State of the attachment.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- attachment
Policy NumberRule Number - Policy rule number associated with the attachment.
- attachment
Type String - Type of attachment.
- core
Network StringArn - ARN of the core network for the attachment.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - ID of the attachment account owner.
- segment
Name String - Name of the segment attachment.
- state String
- State of the attachment.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
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)
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.
- Arn string
- Attachment
Policy intRule Number - Policy rule number associated with the attachment.
- Attachment
Type string - Type of attachment.
- Core
Network stringArn - ARN of the core network for the attachment.
- Core
Network stringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- Direct
Connect stringGateway Arn - ARN of the Direct Connect gateway attachment.
- Edge
Locations List<string> One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- Owner
Account stringId - ID of the attachment account owner.
- Segment
Name string - Name of the segment attachment.
- State string
- State of the attachment.
- 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. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Dx
Gateway Attachment Timeouts
- Arn string
- Attachment
Policy intRule Number - Policy rule number associated with the attachment.
- Attachment
Type string - Type of attachment.
- Core
Network stringArn - ARN of the core network for the attachment.
- Core
Network stringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- Direct
Connect stringGateway Arn - ARN of the Direct Connect gateway attachment.
- Edge
Locations []string One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- Owner
Account stringId - ID of the attachment account owner.
- Segment
Name string - Name of the segment attachment.
- State string
- State of the attachment.
- 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. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Dx
Gateway Attachment Timeouts Args
- arn String
- attachment
Policy IntegerRule Number - Policy rule number associated with the attachment.
- attachment
Type String - Type of attachment.
- core
Network StringArn - ARN of the core network for the attachment.
- core
Network StringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct
Connect StringGateway Arn - ARN of the Direct Connect gateway attachment.
- edge
Locations List<String> One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- owner
Account StringId - ID of the attachment account owner.
- segment
Name String - Name of the segment attachment.
- state String
- State of the attachment.
- 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. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Dx
Gateway Attachment Timeouts
- arn string
- attachment
Policy numberRule Number - Policy rule number associated with the attachment.
- attachment
Type string - Type of attachment.
- core
Network stringArn - ARN of the core network for the attachment.
- core
Network stringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct
Connect stringGateway Arn - ARN of the Direct Connect gateway attachment.
- edge
Locations string[] One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- owner
Account stringId - ID of the attachment account owner.
- segment
Name string - Name of the segment attachment.
- state string
- State of the attachment.
- {[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. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Dx
Gateway Attachment Timeouts
- arn str
- attachment_
policy_ intrule_ number - Policy rule number associated with the attachment.
- attachment_
type str - Type of attachment.
- core_
network_ strarn - ARN of the core network for the attachment.
- core_
network_ strid - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct_
connect_ strgateway_ arn - 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_ strid - ID of the attachment account owner.
- segment_
name str - Name of the segment attachment.
- state str
- State of the attachment.
- 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. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Dx
Gateway Attachment Timeouts Args
- arn String
- attachment
Policy NumberRule Number - Policy rule number associated with the attachment.
- attachment
Type String - Type of attachment.
- core
Network StringArn - ARN of the core network for the attachment.
- core
Network StringId - ID of the Cloud WAN core network to which the Direct Connect gateway attachment should be attached.
- direct
Connect StringGateway Arn - ARN of the Direct Connect gateway attachment.
- edge
Locations List<String> One or more core network edge locations to associate with the Direct Connect gateway attachment.
The following arguments are optional:
- owner
Account StringId - ID of the attachment account owner.
- segment
Name String - Name of the segment attachment.
- state String
- State of the attachment.
- 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. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - 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
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.