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

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

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi

    Resource Type definition for AWS::NetworkManager::Connection. Describes a connection between two devices in a global network.

    Using getConnection

    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 getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
    function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOutputOptions): Output<GetConnectionResult>
    def get_connection(connection_arn: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetConnectionResult
    def get_connection_output(connection_arn: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetConnectionResult]
    func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
    func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput

    > Note: This function is named LookupConnection in the Go SDK.

    public static class GetConnection 
    {
        public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
    public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
    public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:networkmanager:getConnection
      arguments:
        # arguments dictionary
    data "aws-native_networkmanager_get_connection" "name" {
        # arguments
    }

    The following arguments are supported:

    ConnectionArn string
    The Amazon Resource Name (ARN) of the connection.
    ConnectionArn string
    The Amazon Resource Name (ARN) of the connection.
    connection_arn string
    The Amazon Resource Name (ARN) of the connection.
    connectionArn String
    The Amazon Resource Name (ARN) of the connection.
    connectionArn string
    The Amazon Resource Name (ARN) of the connection.
    connection_arn str
    The Amazon Resource Name (ARN) of the connection.
    connectionArn String
    The Amazon Resource Name (ARN) of the connection.

    getConnection Result

    The following output properties are available:

    ConnectedLinkId string
    The ID of the link for the second device.
    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.
    Description string
    The description of the connection.
    LinkId string
    The ID of the link for the first device.
    State Pulumi.AwsNative.NetworkManager.ConnectionState
    The state of the connection.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the connection.
    ConnectedLinkId string
    The ID of the link for the second device.
    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.
    Description string
    The description of the connection.
    LinkId string
    The ID of the link for the first device.
    State ConnectionStateEnum
    The state of the connection.
    Tags Tag
    The tags for the connection.
    connected_link_id string
    The ID of the link for the second device.
    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.
    description string
    The description of the connection.
    link_id string
    The ID of the link for the first device.
    state "PENDING" | "AVAILABLE" | "DELETING" | "UPDATING"
    The state of the connection.
    tags list(object)
    The tags for the connection.
    connectedLinkId String
    The ID of the link for the second device.
    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.
    description String
    The description of the connection.
    linkId String
    The ID of the link for the first device.
    state ConnectionState
    The state of the connection.
    tags List<Tag>
    The tags for the connection.
    connectedLinkId string
    The ID of the link for the second device.
    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.
    description string
    The description of the connection.
    linkId string
    The ID of the link for the first device.
    state ConnectionState
    The state of the connection.
    tags Tag[]
    The tags for the connection.
    connected_link_id str
    The ID of the link for the second device.
    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.
    description str
    The description of the connection.
    link_id str
    The ID of the link for the first device.
    state ConnectionState
    The state of the connection.
    tags Sequence[root_Tag]
    The tags for the connection.
    connectedLinkId String
    The ID of the link for the second device.
    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.
    description String
    The description of the connection.
    linkId String
    The ID of the link for the first device.
    state "PENDING" | "AVAILABLE" | "DELETING" | "UPDATING"
    The state of the connection.
    tags List<Property Map>
    The tags for the connection.

    Supporting Types

    ConnectionState

    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 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

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

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial