Package-level declarations
Types
Functions
Link copied to clipboard
inline suspend fun Ec2InstanceConnectClient.sendSerialConsoleSshPublicKey(crossinline block: SendSerialConsoleSshPublicKeyRequest.Builder.() -> Unit): SendSerialConsoleSshPublicKeyResponse
Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide.
Link copied to clipboard
inline suspend fun Ec2InstanceConnectClient.sendSshPublicKey(crossinline block: SendSshPublicKeyRequest.Builder.() -> Unit): SendSshPublicKeyResponse
Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide.
Link copied to clipboard
fun Ec2InstanceConnectClient.withConfig(block: Ec2InstanceConnectClient.Config.Builder.() -> Unit): Ec2InstanceConnectClient
Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.