1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. networkmanager
  6. Connection

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
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:

    ConnectedDeviceId string
    The ID of the second device in the connection.
    DeviceId string
    The ID of the first device in the connection.
    GlobalNetworkId string
    The ID of the global network that the connection belongs to.
    ConnectedLinkId string
    The ID of the link for the second device.
    Description string
    The description of the connection.
    LinkId string
    The ID of the link for the first device.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags for the connection.
    ConnectedDeviceId string
    The ID of the second device in the connection.
    DeviceId string
    The ID of the first device in the connection.
    GlobalNetworkId string
    The ID of the global network that the connection belongs to.
    ConnectedLinkId string
    The ID of the link for the second device.
    Description string
    The description of the connection.
    LinkId string
    The ID of the link for the first device.
    Tags TagArgs
    The tags for the connection.
    connected_device_id string
    The ID of the second device in the connection.
    device_id string
    The ID of the first device in the connection.
    global_network_id string
    The ID of the global network that the connection belongs to.
    connected_link_id string
    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.
    tags list(object)
    The tags for the connection.
    connectedDeviceId String
    The ID of the second device in the connection.
    deviceId String
    The ID of the first device in the connection.
    globalNetworkId String
    The ID of the global network that the connection belongs to.
    connectedLinkId String
    The ID of the link for the second device.
    description String
    The description of the connection.
    linkId String
    The ID of the link for the first device.
    tags List<Tag>
    The tags for the connection.
    connectedDeviceId string
    The ID of the second device in the connection.
    deviceId string
    The ID of the first device in the connection.
    globalNetworkId string
    The ID of the global network that the connection belongs to.
    connectedLinkId string
    The ID of the link for the second device.
    description string
    The description of the connection.
    linkId string
    The ID of the link for the first device.
    tags Tag[]
    The tags for the connection.
    connected_device_id str
    The ID of the second device in the connection.
    device_id str
    The ID of the first device in the connection.
    global_network_id str
    The ID of the global network that the connection belongs to.
    connected_link_id str
    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.
    tags Sequence[TagArgs]
    The tags for the connection.
    connectedDeviceId String
    The ID of the second device in the connection.
    deviceId String
    The ID of the first device in the connection.
    globalNetworkId String
    The ID of the global network that the connection belongs to.
    connectedLinkId String
    The ID of the link for the second device.
    description String
    The description of the connection.
    linkId String
    The ID of the link for the first device.
    tags 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:

    ConnectionArn string
    The Amazon Resource Name (ARN) of the connection.
    ConnectionId string
    The ID of the connection.
    CreatedAt string
    The date and time that the connection was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    State Pulumi.AwsNative.NetworkManager.ConnectionState
    The state of the connection.
    ConnectionArn string
    The Amazon Resource Name (ARN) of the connection.
    ConnectionId string
    The ID of the connection.
    CreatedAt string
    The date and time that the connection was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    State ConnectionStateEnum
    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.
    connectionArn String
    The Amazon Resource Name (ARN) of the connection.
    connectionId String
    The ID of the connection.
    createdAt String
    The date and time that the connection was created.
    id String
    The provider-assigned unique ID for this managed resource.
    state ConnectionState
    The state of the connection.
    connectionArn string
    The Amazon Resource Name (ARN) of the connection.
    connectionId string
    The ID of the connection.
    createdAt string
    The date and time that the connection was created.
    id string
    The provider-assigned unique ID for this managed resource.
    state ConnectionState
    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 ConnectionState
    The state of the connection.
    connectionArn String
    The Amazon Resource Name (ARN) of the connection.
    connectionId String
    The ID of the connection.
    createdAt 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) -> Connection
    func 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.

    NameValue
    PendingPENDING
    AvailableAVAILABLE
    DeletingDELETING
    UpdatingUPDATING
    NameValue
    ConnectionStatePendingPENDING
    ConnectionStateAvailableAVAILABLE
    ConnectionStateDeletingDELETING
    ConnectionStateUpdatingUPDATING
    Value
    PENDING
    AVAILABLE
    DELETING
    UPDATING
    NameValue
    PendingPENDING
    AvailableAVAILABLE
    DeletingDELETING
    UpdatingUPDATING
    NameValue
    PendingPENDING
    AvailableAVAILABLE
    DeletingDELETING
    UpdatingUPDATING
    NameValue
    PENDINGPENDING
    AVAILABLEAVAILABLE
    DELETINGDELETING
    UPDATINGUPDATING
    Value
    PENDING
    AVAILABLE
    DELETING
    UPDATING

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial