---
title: "GET /connections/{ConnectionId}"
method: GET
path: "/connections/{ConnectionId}"
---

# GET /connections/{ConnectionId}

`GET /connections/{ConnectionId}`

<note> <p> Amazon Web Services uses this action to install Outpost servers.</p> </note> <p> Gets information about the specified connection. </p> <p> Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/security-iam-awsmanpol.html"> Amazon Web Services managed policies for Amazon Web Services Outposts</a> and <a href="https://docs.aws.amazon.com/outposts/latest/userguide/logging-using-cloudtrail.html"> Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Outposts User Guide</i>. </p>

## Path parameters

- `ConnectionId` string, required

## Response `200`

Success

- GetConnectionResponse
  - `ConnectionId` string — The ID of the connection.
  - `ConnectionDetails` object — Information about the connection.
    - `ClientPublicKey` string — The public key of the client.
    - `ServerPublicKey` string — The public key of the server.
    - `ServerEndpoint` string — The endpoint for the server.
    - `ClientTunnelAddress` string — The client tunnel address.
    - `ServerTunnelAddress` string — The server tunnel address.
    - `AllowedIps` CIDR[] — The allowed IP addresses.

## Other responses

- `480` — AccessDeniedException
- `481` — ValidationException
- `482` — NotFoundException
- `483` — InternalServerException

---

[API](https://skmtc.net/aws/apis/outposts.md) · [All operations](https://skmtc.net/aws/apis/outposts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/outposts/revisions/0530143dffc3/schema)
