class Aws::EC2InstanceConnect::Types::SendSerialConsoleSSHPublicKeyRequest
@note When making an API call, you may pass SendSerialConsoleSSHPublicKeyRequest
data as a hash: { instance_id: "InstanceId", # required serial_port: 1, ssh_public_key: "SSHPublicKey", # required }
@!attribute [rw] instance_id
The ID of the EC2 instance. @return [String]
@!attribute [rw] serial_port
The serial port of the EC2 instance. Currently only port 0 is supported. Default: 0 @return [Integer]
@!attribute [rw] ssh_public_key
The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see [Requirements for key pairs][1] in the *Amazon EC2 User Guide*. [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws @return [String]
@see docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSerialConsoleSSHPublicKeyRequest AWS API Documentation
Constants
- SENSITIVE