| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2instanceconnect |
Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH public keys to EC2, providing
users a simple and secure way to connect to their instances.
|
| software.amazon.awssdk.services.ec2instanceconnect.model |
| Modifier and Type | Method and Description |
|---|---|
default SendSerialConsoleSshPublicKeyResponse |
Ec2InstanceConnectClient.sendSerialConsoleSSHPublicKey(Consumer<SendSerialConsoleSshPublicKeyRequest.Builder> sendSerialConsoleSshPublicKeyRequest)
Pushes an SSH public key to the specified EC2 instance.
|
default SendSerialConsoleSshPublicKeyResponse |
Ec2InstanceConnectClient.sendSerialConsoleSSHPublicKey(SendSerialConsoleSshPublicKeyRequest sendSerialConsoleSshPublicKeyRequest)
Pushes an SSH public key to the specified EC2 instance.
|
default SendSshPublicKeyResponse |
Ec2InstanceConnectClient.sendSSHPublicKey(Consumer<SendSshPublicKeyRequest.Builder> sendSshPublicKeyRequest)
Pushes an SSH public key to the specified EC2 instance for use by the specified user.
|
default SendSshPublicKeyResponse |
Ec2InstanceConnectClient.sendSSHPublicKey(SendSshPublicKeyRequest sendSshPublicKeyRequest)
Pushes an SSH public key to the specified EC2 instance for use by the specified user.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthException
Either your AWS credentials are not valid or you do not have access to the EC2 instance.
|
class |
Ec2InstanceNotFoundException
The specified instance was not found.
|
class |
Ec2InstanceStateInvalidException
Unable to connect because the instance is not in a valid state.
|
class |
Ec2InstanceTypeInvalidException
The instance type is not supported for connecting via the serial console.
|
class |
Ec2InstanceUnavailableException
The instance is currently unavailable.
|
class |
InvalidArgsException
One of the parameters is not valid.
|
class |
SerialConsoleAccessDisabledException
Your account is not authorized to use the EC2 Serial Console.
|
class |
SerialConsoleSessionLimitExceededException
The instance currently has 1 active serial console session.
|
class |
SerialConsoleSessionUnavailableException
Unable to start a serial console session.
|
class |
ServiceException
The service encountered an error.
|
class |
ThrottlingException
The requests were made too frequently and have been throttled.
|
| Modifier and Type | Method and Description |
|---|---|
Ec2InstanceConnectException |
Ec2InstanceConnectException.BuilderImpl.build() |
| Constructor and Description |
|---|
BuilderImpl(Ec2InstanceConnectException ex) |
Copyright © 2023. All rights reserved.