get_connection
(**kwargs)¶Note
Amazon Web Services uses this action to install Outpost servers.
Gets information about the specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide .
See also: AWS API Documentation
Request Syntax
response = client.get_connection(
ConnectionId='string'
)
[REQUIRED]
The ID of the connection.
{
'ConnectionId': 'string',
'ConnectionDetails': {
'ClientPublicKey': 'string',
'ServerPublicKey': 'string',
'ServerEndpoint': 'string',
'ClientTunnelAddress': 'string',
'ServerTunnelAddress': 'string',
'AllowedIps': [
'string',
]
}
}
Response Structure
The ID of the connection.
Information about the connection.
The public key of the client.
The public key of the server.
The endpoint for the server.
The client tunnel address.
The server tunnel address.
The allowed IP addresses.
Exceptions
Outposts.Client.exceptions.AccessDeniedException
Outposts.Client.exceptions.ValidationException
Outposts.Client.exceptions.NotFoundException
Outposts.Client.exceptions.InternalServerException