We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::NetworkManager::Connection. Describes a connection between two devices in a global network.
Create Connection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);@overload
def Connection(resource_name: str,
args: ConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Connection(resource_name: str,
opts: Optional[ResourceOptions] = None,
connected_device_id: Optional[str] = None,
device_id: Optional[str] = None,
global_network_id: Optional[str] = None,
connected_link_id: Optional[str] = None,
description: Optional[str] = None,
link_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: aws-native:networkmanager:Connection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_networkmanager_connection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConnectionArgs
- 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 ConnectionArgs
- 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 ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Connection 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 Connection resource accepts the following input properties:
- Connected
Device stringId - The ID of the second device in the connection.
- Device
Id string - The ID of the first device in the connection.
- Global
Network stringId - The ID of the global network that the connection belongs to.
- Connected
Link stringId - The ID of the link for the second device.
- Description string
- The description of the connection.
- Link
Id string - The ID of the link for the first device.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the connection.
- Connected
Device stringId - The ID of the second device in the connection.
- Device
Id string - The ID of the first device in the connection.
- Global
Network stringId - The ID of the global network that the connection belongs to.
- Connected
Link stringId - The ID of the link for the second device.
- Description string
- The description of the connection.
- Link
Id string - The ID of the link for the first device.
-
Tag
Args - The tags for the connection.
- connected_
device_ stringid - The ID of the second device in the connection.
- device_
id string - The ID of the first device in the connection.
- global_
network_ stringid - The ID of the global network that the connection belongs to.
- connected_
link_ stringid - The ID of the link for the second device.
- description string
- The description of the connection.
- link_
id string - The ID of the link for the first device.
- list(object)
- The tags for the connection.
- connected
Device StringId - The ID of the second device in the connection.
- device
Id String - The ID of the first device in the connection.
- global
Network StringId - The ID of the global network that the connection belongs to.
- connected
Link StringId - The ID of the link for the second device.
- description String
- The description of the connection.
- link
Id String - The ID of the link for the first device.
- List<Tag>
- The tags for the connection.
- connected
Device stringId - The ID of the second device in the connection.
- device
Id string - The ID of the first device in the connection.
- global
Network stringId - The ID of the global network that the connection belongs to.
- connected
Link stringId - The ID of the link for the second device.
- description string
- The description of the connection.
- link
Id string - The ID of the link for the first device.
- Tag[]
- The tags for the connection.
- connected_
device_ strid - The ID of the second device in the connection.
- device_
id str - The ID of the first device in the connection.
- global_
network_ strid - The ID of the global network that the connection belongs to.
- connected_
link_ strid - The ID of the link for the second device.
- description str
- The description of the connection.
- link_
id str - The ID of the link for the first device.
-
Sequence[Tag
Args] - The tags for the connection.
- connected
Device StringId - The ID of the second device in the connection.
- device
Id String - The ID of the first device in the connection.
- global
Network StringId - The ID of the global network that the connection belongs to.
- connected
Link StringId - The ID of the link for the second device.
- description String
- The description of the connection.
- link
Id String - The ID of the link for the first device.
- List<Property Map>
- The tags for the connection.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Connection
Arn string - The Amazon Resource Name (ARN) of the connection.
- Connection
Id string - The ID of the connection.
- Created
At string - The date and time that the connection was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Pulumi.
Aws Native. Network Manager. Connection State - The state of the connection.
- Connection
Arn string - The Amazon Resource Name (ARN) of the connection.
- Connection
Id string - The ID of the connection.
- Created
At string - The date and time that the connection was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- State
Connection
State Enum - The state of the connection.
- connection_
arn string - The Amazon Resource Name (ARN) of the connection.
- connection_
id string - The ID of the connection.
- created_
at string - The date and time that the connection was created.
- id string
- The provider-assigned unique ID for this managed resource.
- state "PENDING" | "AVAILABLE" | "DELETING" | "UPDATING"
- The state of the connection.
- connection
Arn String - The Amazon Resource Name (ARN) of the connection.
- connection
Id String - The ID of the connection.
- created
At String - The date and time that the connection was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state
Connection
State - The state of the connection.
- connection
Arn string - The Amazon Resource Name (ARN) of the connection.
- connection
Id string - The ID of the connection.
- created
At string - The date and time that the connection was created.
- id string
- The provider-assigned unique ID for this managed resource.
- state
Connection
State - The state of the connection.
- connection_
arn str - The Amazon Resource Name (ARN) of the connection.
- connection_
id str - The ID of the connection.
- created_
at str - The date and time that the connection was created.
- id str
- The provider-assigned unique ID for this managed resource.
- state
Connection
State - The state of the connection.
- connection
Arn String - The Amazon Resource Name (ARN) of the connection.
- connection
Id String - The ID of the connection.
- created
At String - The date and time that the connection was created.
- id String
- The provider-assigned unique ID for this managed resource.
- state "PENDING" | "AVAILABLE" | "DELETING" | "UPDATING"
- The state of the connection.
Look up Existing Connection Resource
Get an existing Connection 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>, opts?: CustomResourceOptions): Connection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Connectionfunc GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)public static Connection Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Connection get(String name, Output<String> id, CustomResourceOptions options)resources: existingConnection: type: aws-native:networkmanager:Connection get: id: ${id}import {
to = aws-native_networkmanager_connection.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ConnectionState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ConnectionState
The state of the connection.
| Name | Value |
|---|---|
| Pending | PENDING |
| Available | AVAILABLE |
| Deleting | DELETING |
| Updating | UPDATING |
| Name | Value |
|---|---|
| Connection | PENDING |
| Connection | AVAILABLE |
| Connection | DELETING |
| Connection | UPDATING |
| Value |
|---|
PENDING |
AVAILABLE |
DELETING |
UPDATING |
| Name | Value |
|---|---|
| Pending | PENDING |
| Available | AVAILABLE |
| Deleting | DELETING |
| Updating | UPDATING |
| Name | Value |
|---|---|
| Pending | PENDING |
| Available | AVAILABLE |
| Deleting | DELETING |
| Updating | UPDATING |
| Name | Value |
|---|---|
| PENDING | PENDING |
| AVAILABLE | AVAILABLE |
| DELETING | DELETING |
| UPDATING | UPDATING |
| Value |
|---|
PENDING |
AVAILABLE |
DELETING |
UPDATING |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi