We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
AWS::NetworkManager::DirectConnectGatewayAttachment Resource Type
Using getDirectConnectGatewayAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDirectConnectGatewayAttachment(args: GetDirectConnectGatewayAttachmentArgs, opts?: InvokeOptions): Promise<GetDirectConnectGatewayAttachmentResult>
function getDirectConnectGatewayAttachmentOutput(args: GetDirectConnectGatewayAttachmentOutputArgs, opts?: InvokeOptions): Output<GetDirectConnectGatewayAttachmentResult>def get_direct_connect_gateway_attachment(attachment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDirectConnectGatewayAttachmentResult
def get_direct_connect_gateway_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDirectConnectGatewayAttachmentResult]func LookupDirectConnectGatewayAttachment(ctx *Context, args *LookupDirectConnectGatewayAttachmentArgs, opts ...InvokeOption) (*LookupDirectConnectGatewayAttachmentResult, error)
func LookupDirectConnectGatewayAttachmentOutput(ctx *Context, args *LookupDirectConnectGatewayAttachmentOutputArgs, opts ...InvokeOption) LookupDirectConnectGatewayAttachmentResultOutput> Note: This function is named LookupDirectConnectGatewayAttachment in the Go SDK.
public static class GetDirectConnectGatewayAttachment
{
public static Task<GetDirectConnectGatewayAttachmentResult> InvokeAsync(GetDirectConnectGatewayAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetDirectConnectGatewayAttachmentResult> Invoke(GetDirectConnectGatewayAttachmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDirectConnectGatewayAttachmentResult> getDirectConnectGatewayAttachment(GetDirectConnectGatewayAttachmentArgs args, InvokeOptions options)
public static Output<GetDirectConnectGatewayAttachmentResult> getDirectConnectGatewayAttachment(GetDirectConnectGatewayAttachmentArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:networkmanager:getDirectConnectGatewayAttachment
arguments:
# arguments dictionaryThe following arguments are supported:
- Attachment
Id string - Id of the attachment.
- Attachment
Id string - Id of the attachment.
- attachment
Id String - Id of the attachment.
- attachment
Id string - Id of the attachment.
- attachment_
id str - Id of the attachment.
- attachment
Id String - Id of the attachment.
getDirectConnectGatewayAttachment Result
The following output properties are available:
- Attachment
Id string - Id of the attachment.
- Attachment
Policy intRule Number - The policy rule number associated with the attachment.
- Attachment
Type string - Attachment type.
- Core
Network stringArn - The ARN of a core network for the Direct Connect Gateway attachment.
- Created
At string - Creation time of the attachment.
- Edge
Locations List<string> - The Regions where the edges are located.
- Last
Modification List<string>Errors - Errors from the last modification of the attachment.
- Network
Function stringGroup Name - The name of the network function group attachment.
- Owner
Account stringId - Owner account of the attachment.
- Proposed
Network Pulumi.Function Group Change Aws Native. Network Manager. Outputs. Direct Connect Gateway Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- Proposed
Segment Pulumi.Change Aws Native. Network Manager. Outputs. Direct Connect Gateway Attachment Proposed Segment Change - The attachment to move from one segment to another.
- Resource
Arn string - The ARN of the Resource.
- Segment
Name string - The name of the segment attachment..
- State string
- State of the attachment.
-
List<Pulumi.
Aws Native. Outputs. Tag> - Tags for the attachment.
- Updated
At string - Last update time of the attachment.
- Attachment
Id string - Id of the attachment.
- Attachment
Policy intRule Number - The policy rule number associated with the attachment.
- Attachment
Type string - Attachment type.
- Core
Network stringArn - The ARN of a core network for the Direct Connect Gateway attachment.
- Created
At string - Creation time of the attachment.
- Edge
Locations []string - The Regions where the edges are located.
- Last
Modification []stringErrors - Errors from the last modification of the attachment.
- Network
Function stringGroup Name - The name of the network function group attachment.
- Owner
Account stringId - Owner account of the attachment.
- Proposed
Network DirectFunction Group Change Connect Gateway Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- Proposed
Segment DirectChange Connect Gateway Attachment Proposed Segment Change - The attachment to move from one segment to another.
- Resource
Arn string - The ARN of the Resource.
- Segment
Name string - The name of the segment attachment..
- State string
- State of the attachment.
- Tag
- Tags for the attachment.
- Updated
At string - Last update time of the attachment.
- attachment
Id String - Id of the attachment.
- attachment
Policy IntegerRule Number - The policy rule number associated with the attachment.
- attachment
Type String - Attachment type.
- core
Network StringArn - The ARN of a core network for the Direct Connect Gateway attachment.
- created
At String - Creation time of the attachment.
- edge
Locations List<String> - The Regions where the edges are located.
- last
Modification List<String>Errors - Errors from the last modification of the attachment.
- network
Function StringGroup Name - The name of the network function group attachment.
- owner
Account StringId - Owner account of the attachment.
- proposed
Network DirectFunction Group Change Connect Gateway Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- proposed
Segment DirectChange Connect Gateway Attachment Proposed Segment Change - The attachment to move from one segment to another.
- resource
Arn String - The ARN of the Resource.
- segment
Name String - The name of the segment attachment..
- state String
- State of the attachment.
- List<Tag>
- Tags for the attachment.
- updated
At String - Last update time of the attachment.
- attachment
Id string - Id of the attachment.
- attachment
Policy numberRule Number - The policy rule number associated with the attachment.
- attachment
Type string - Attachment type.
- core
Network stringArn - The ARN of a core network for the Direct Connect Gateway attachment.
- created
At string - Creation time of the attachment.
- edge
Locations string[] - The Regions where the edges are located.
- last
Modification string[]Errors - Errors from the last modification of the attachment.
- network
Function stringGroup Name - The name of the network function group attachment.
- owner
Account stringId - Owner account of the attachment.
- proposed
Network DirectFunction Group Change Connect Gateway Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- proposed
Segment DirectChange Connect Gateway Attachment Proposed Segment Change - The attachment to move from one segment to another.
- resource
Arn string - The ARN of the Resource.
- segment
Name string - The name of the segment attachment..
- state string
- State of the attachment.
- Tag[]
- Tags for the attachment.
- updated
At string - Last update time of the attachment.
- attachment_
id str - Id of the attachment.
- attachment_
policy_ intrule_ number - The policy rule number associated with the attachment.
- attachment_
type str - Attachment type.
- core_
network_ strarn - The ARN of a core network for the Direct Connect Gateway attachment.
- created_
at str - Creation time of the attachment.
- edge_
locations Sequence[str] - The Regions where the edges are located.
- last_
modification_ Sequence[str]errors - Errors from the last modification of the attachment.
- network_
function_ strgroup_ name - The name of the network function group attachment.
- owner_
account_ strid - Owner account of the attachment.
- proposed_
network_ Directfunction_ group_ change Connect Gateway Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- proposed_
segment_ Directchange Connect Gateway Attachment Proposed Segment Change - The attachment to move from one segment to another.
- resource_
arn str - The ARN of the Resource.
- segment_
name str - The name of the segment attachment..
- state str
- State of the attachment.
- Sequence[root_Tag]
- Tags for the attachment.
- updated_
at str - Last update time of the attachment.
- attachment
Id String - Id of the attachment.
- attachment
Policy NumberRule Number - The policy rule number associated with the attachment.
- attachment
Type String - Attachment type.
- core
Network StringArn - The ARN of a core network for the Direct Connect Gateway attachment.
- created
At String - Creation time of the attachment.
- edge
Locations List<String> - The Regions where the edges are located.
- last
Modification List<String>Errors - Errors from the last modification of the attachment.
- network
Function StringGroup Name - The name of the network function group attachment.
- owner
Account StringId - Owner account of the attachment.
- proposed
Network Property MapFunction Group Change - The attachment to move from one network function group to another.
- proposed
Segment Property MapChange - The attachment to move from one segment to another.
- resource
Arn String - The ARN of the Resource.
- segment
Name String - The name of the segment attachment..
- state String
- State of the attachment.
- List<Property Map>
- Tags for the attachment.
- updated
At String - Last update time of the attachment.
Supporting Types
DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChange
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Network
Function stringGroup Name - The name of the network function group to change.
-
List<Pulumi.
Aws Native. Network Manager. Inputs. Direct Connect Gateway Attachment Tag> - The key-value tags that changed for the network function group.
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Network
Function stringGroup Name - The name of the network function group to change.
-
[]Direct
Connect Gateway Attachment Tag - The key-value tags that changed for the network function group.
- attachment
Policy IntegerRule Number - The rule number in the policy document that applies to this change.
- network
Function StringGroup Name - The name of the network function group to change.
-
List<Direct
Connect Gateway Attachment Tag> - The key-value tags that changed for the network function group.
- attachment
Policy numberRule Number - The rule number in the policy document that applies to this change.
- network
Function stringGroup Name - The name of the network function group to change.
-
Direct
Connect Gateway Attachment Tag[] - The key-value tags that changed for the network function group.
- attachment_
policy_ intrule_ number - The rule number in the policy document that applies to this change.
- network_
function_ strgroup_ name - The name of the network function group to change.
-
Sequence[Direct
Connect Gateway Attachment Tag] - The key-value tags that changed for the network function group.
- attachment
Policy NumberRule Number - The rule number in the policy document that applies to this change.
- network
Function StringGroup Name - The name of the network function group to change.
- List<Property Map>
- The key-value tags that changed for the network function group.
DirectConnectGatewayAttachmentProposedSegmentChange
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Segment
Name string - The name of the segment to change.
-
List<Pulumi.
Aws Native. Network Manager. Inputs. Direct Connect Gateway Attachment Tag> - The key-value tags that changed for the segment.
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Segment
Name string - The name of the segment to change.
-
[]Direct
Connect Gateway Attachment Tag - The key-value tags that changed for the segment.
- attachment
Policy IntegerRule Number - The rule number in the policy document that applies to this change.
- segment
Name String - The name of the segment to change.
-
List<Direct
Connect Gateway Attachment Tag> - The key-value tags that changed for the segment.
- attachment
Policy numberRule Number - The rule number in the policy document that applies to this change.
- segment
Name string - The name of the segment to change.
-
Direct
Connect Gateway Attachment Tag[] - The key-value tags that changed for the segment.
- attachment_
policy_ intrule_ number - The rule number in the policy document that applies to this change.
- segment_
name str - The name of the segment to change.
-
Sequence[Direct
Connect Gateway Attachment Tag] - The key-value tags that changed for the segment.
- attachment
Policy NumberRule Number - The rule number in the policy document that applies to this change.
- segment
Name String - The name of the segment to change.
- List<Property Map>
- The key-value tags that changed for the segment.
DirectConnectGatewayAttachmentTag
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
- The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
- The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
