1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. networkmanager
  5. DirectConnectGatewayAttachment

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.networkmanager.DirectConnectGatewayAttachment

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

AWS::NetworkManager::DirectConnectGatewayAttachment Resource Type

Create DirectConnectGatewayAttachment Resource

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

Constructor syntax

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

@overload
def DirectConnectGatewayAttachment(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,
                                   proposed_network_function_group_change: Optional[DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChangeArgs] = None,
                                   proposed_segment_change: Optional[DirectConnectGatewayAttachmentProposedSegmentChangeArgs] = None,
                                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewDirectConnectGatewayAttachment(ctx *Context, name string, args DirectConnectGatewayAttachmentArgs, opts ...ResourceOption) (*DirectConnectGatewayAttachment, error)
public DirectConnectGatewayAttachment(string name, DirectConnectGatewayAttachmentArgs args, CustomResourceOptions? opts = null)
public DirectConnectGatewayAttachment(String name, DirectConnectGatewayAttachmentArgs args)
public DirectConnectGatewayAttachment(String name, DirectConnectGatewayAttachmentArgs args, CustomResourceOptions options)
type: aws-native:networkmanager:DirectConnectGatewayAttachment
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. DirectConnectGatewayAttachmentArgs
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. DirectConnectGatewayAttachmentArgs
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. DirectConnectGatewayAttachmentArgs
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. DirectConnectGatewayAttachmentArgs
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. DirectConnectGatewayAttachmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

CoreNetworkId This property is required. string
The ID of a core network for the Direct Connect Gateway attachment.
DirectConnectGatewayArn This property is required. string
The ARN of the Direct Connect Gateway.
EdgeLocations This property is required. List<string>
The Regions where the edges are located.
ProposedNetworkFunctionGroupChange Pulumi.AwsNative.NetworkManager.Inputs.DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
ProposedSegmentChange Pulumi.AwsNative.NetworkManager.Inputs.DirectConnectGatewayAttachmentProposedSegmentChange
The attachment to move from one segment to another.
Tags List<Pulumi.AwsNative.Inputs.Tag>
Tags for the attachment.
CoreNetworkId This property is required. string
The ID of a core network for the Direct Connect Gateway attachment.
DirectConnectGatewayArn This property is required. string
The ARN of the Direct Connect Gateway.
EdgeLocations This property is required. []string
The Regions where the edges are located.
ProposedNetworkFunctionGroupChange DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChangeArgs
The attachment to move from one network function group to another.
ProposedSegmentChange DirectConnectGatewayAttachmentProposedSegmentChangeArgs
The attachment to move from one segment to another.
Tags TagArgs
Tags for the attachment.
coreNetworkId This property is required. String
The ID of a core network for the Direct Connect Gateway attachment.
directConnectGatewayArn This property is required. String
The ARN of the Direct Connect Gateway.
edgeLocations This property is required. List<String>
The Regions where the edges are located.
proposedNetworkFunctionGroupChange DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
proposedSegmentChange DirectConnectGatewayAttachmentProposedSegmentChange
The attachment to move from one segment to another.
tags List<Tag>
Tags for the attachment.
coreNetworkId This property is required. string
The ID of a core network for the Direct Connect Gateway attachment.
directConnectGatewayArn This property is required. string
The ARN of the Direct Connect Gateway.
edgeLocations This property is required. string[]
The Regions where the edges are located.
proposedNetworkFunctionGroupChange DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
proposedSegmentChange DirectConnectGatewayAttachmentProposedSegmentChange
The attachment to move from one segment to another.
tags Tag[]
Tags for the attachment.
core_network_id This property is required. str
The ID of a core network for the Direct Connect Gateway attachment.
direct_connect_gateway_arn This property is required. str
The ARN of the Direct Connect Gateway.
edge_locations This property is required. Sequence[str]
The Regions where the edges are located.
proposed_network_function_group_change DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChangeArgs
The attachment to move from one network function group to another.
proposed_segment_change DirectConnectGatewayAttachmentProposedSegmentChangeArgs
The attachment to move from one segment to another.
tags Sequence[TagArgs]
Tags for the attachment.
coreNetworkId This property is required. String
The ID of a core network for the Direct Connect Gateway attachment.
directConnectGatewayArn This property is required. String
The ARN of the Direct Connect Gateway.
edgeLocations This property is required. List<String>
The Regions where the edges are located.
proposedNetworkFunctionGroupChange Property Map
The attachment to move from one network function group to another.
proposedSegmentChange Property Map
The attachment to move from one segment to another.
tags List<Property Map>
Tags for the attachment.

Outputs

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

AttachmentId string
Id of the attachment.
AttachmentPolicyRuleNumber int
The policy rule number associated with the attachment.
AttachmentType string
Attachment type.
CoreNetworkArn string
The ARN of a core network for the Direct Connect Gateway attachment.
CreatedAt string
Creation time of the attachment.
Id string
The provider-assigned unique ID for this managed resource.
NetworkFunctionGroupName string
The name of the network function group attachment.
OwnerAccountId string
Owner account of the attachment.
ResourceArn string
The ARN of the Resource.
SegmentName string
The name of the segment attachment..
State string
State of the attachment.
UpdatedAt string
Last update time of the attachment.
AttachmentId string
Id of the attachment.
AttachmentPolicyRuleNumber int
The policy rule number associated with the attachment.
AttachmentType string
Attachment type.
CoreNetworkArn string
The ARN of a core network for the Direct Connect Gateway attachment.
CreatedAt string
Creation time of the attachment.
Id string
The provider-assigned unique ID for this managed resource.
NetworkFunctionGroupName string
The name of the network function group attachment.
OwnerAccountId string
Owner account of the attachment.
ResourceArn string
The ARN of the Resource.
SegmentName string
The name of the segment attachment..
State string
State of the attachment.
UpdatedAt string
Last update time of the attachment.
attachmentId String
Id of the attachment.
attachmentPolicyRuleNumber Integer
The policy rule number associated with the attachment.
attachmentType String
Attachment type.
coreNetworkArn String
The ARN of a core network for the Direct Connect Gateway attachment.
createdAt String
Creation time of the attachment.
id String
The provider-assigned unique ID for this managed resource.
networkFunctionGroupName String
The name of the network function group attachment.
ownerAccountId String
Owner account of the attachment.
resourceArn String
The ARN of the Resource.
segmentName String
The name of the segment attachment..
state String
State of the attachment.
updatedAt String
Last update time of the attachment.
attachmentId string
Id of the attachment.
attachmentPolicyRuleNumber number
The policy rule number associated with the attachment.
attachmentType string
Attachment type.
coreNetworkArn string
The ARN of a core network for the Direct Connect Gateway attachment.
createdAt string
Creation time of the attachment.
id string
The provider-assigned unique ID for this managed resource.
networkFunctionGroupName string
The name of the network function group attachment.
ownerAccountId string
Owner account of the attachment.
resourceArn string
The ARN of the Resource.
segmentName string
The name of the segment attachment..
state string
State of the attachment.
updatedAt string
Last update time of the attachment.
attachment_id str
Id of the attachment.
attachment_policy_rule_number int
The policy rule number associated with the attachment.
attachment_type str
Attachment type.
core_network_arn str
The ARN of a core network for the Direct Connect Gateway attachment.
created_at str
Creation time of the attachment.
id str
The provider-assigned unique ID for this managed resource.
network_function_group_name str
The name of the network function group attachment.
owner_account_id str
Owner account of the attachment.
resource_arn str
The ARN of the Resource.
segment_name str
The name of the segment attachment..
state str
State of the attachment.
updated_at str
Last update time of the attachment.
attachmentId String
Id of the attachment.
attachmentPolicyRuleNumber Number
The policy rule number associated with the attachment.
attachmentType String
Attachment type.
coreNetworkArn String
The ARN of a core network for the Direct Connect Gateway attachment.
createdAt String
Creation time of the attachment.
id String
The provider-assigned unique ID for this managed resource.
networkFunctionGroupName String
The name of the network function group attachment.
ownerAccountId String
Owner account of the attachment.
resourceArn String
The ARN of the Resource.
segmentName String
The name of the segment attachment..
state String
State of the attachment.
updatedAt String
Last update time of the attachment.

Supporting Types

DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChange
, DirectConnectGatewayAttachmentProposedNetworkFunctionGroupChangeArgs

AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
NetworkFunctionGroupName string
The name of the network function group to change.
Tags List<Pulumi.AwsNative.NetworkManager.Inputs.DirectConnectGatewayAttachmentTag>
The key-value tags that changed for the network function group.
AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
NetworkFunctionGroupName string
The name of the network function group to change.
Tags []DirectConnectGatewayAttachmentTag
The key-value tags that changed for the network function group.
attachmentPolicyRuleNumber Integer
The rule number in the policy document that applies to this change.
networkFunctionGroupName String
The name of the network function group to change.
tags List<DirectConnectGatewayAttachmentTag>
The key-value tags that changed for the network function group.
attachmentPolicyRuleNumber number
The rule number in the policy document that applies to this change.
networkFunctionGroupName string
The name of the network function group to change.
tags DirectConnectGatewayAttachmentTag[]
The key-value tags that changed for the network function group.
attachment_policy_rule_number int
The rule number in the policy document that applies to this change.
network_function_group_name str
The name of the network function group to change.
tags Sequence[DirectConnectGatewayAttachmentTag]
The key-value tags that changed for the network function group.
attachmentPolicyRuleNumber Number
The rule number in the policy document that applies to this change.
networkFunctionGroupName String
The name of the network function group to change.
tags List<Property Map>
The key-value tags that changed for the network function group.

DirectConnectGatewayAttachmentProposedSegmentChange
, DirectConnectGatewayAttachmentProposedSegmentChangeArgs

AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
SegmentName string
The name of the segment to change.
Tags List<Pulumi.AwsNative.NetworkManager.Inputs.DirectConnectGatewayAttachmentTag>
The key-value tags that changed for the segment.
AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
SegmentName string
The name of the segment to change.
Tags []DirectConnectGatewayAttachmentTag
The key-value tags that changed for the segment.
attachmentPolicyRuleNumber Integer
The rule number in the policy document that applies to this change.
segmentName String
The name of the segment to change.
tags List<DirectConnectGatewayAttachmentTag>
The key-value tags that changed for the segment.
attachmentPolicyRuleNumber number
The rule number in the policy document that applies to this change.
segmentName string
The name of the segment to change.
tags DirectConnectGatewayAttachmentTag[]
The key-value tags that changed for the segment.
attachment_policy_rule_number int
The rule number in the policy document that applies to this change.
segment_name str
The name of the segment to change.
tags Sequence[DirectConnectGatewayAttachmentTag]
The key-value tags that changed for the segment.
attachmentPolicyRuleNumber Number
The rule number in the policy document that applies to this change.
segmentName String
The name of the segment to change.
tags List<Property Map>
The key-value tags that changed for the segment.

DirectConnectGatewayAttachmentTag
, DirectConnectGatewayAttachmentTagArgs

Key This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the 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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi