You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2InstanceConnect::Types::SendSSHPublicKeyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2InstanceConnect::Types::SendSSHPublicKeyRequest
- Defined in:
- (unknown)
Overview
Note:
When passing SendSSHPublicKeyRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
instance_id: "InstanceId", # required
instance_os_user: "InstanceOSUser", # required
ssh_public_key: "SSHPublicKey", # required
availability_zone: "AvailabilityZone", # required
}
Instance Attribute Summary collapse
-
#availability_zone ⇒ String
The availability zone the EC2 instance was launched in.
-
#instance_id ⇒ String
The EC2 instance you wish to publish the SSH key to.
-
#instance_os_user ⇒ String
The OS user on the EC2 instance whom the key may be used to authenticate as.
-
#ssh_public_key ⇒ String
The public key to be published to the instance.
Instance Attribute Details
#availability_zone ⇒ String
The availability zone the EC2 instance was launched in.
#instance_id ⇒ String
The EC2 instance you wish to publish the SSH key to.
#instance_os_user ⇒ String
The OS user on the EC2 instance whom the key may be used to authenticate as.
#ssh_public_key ⇒ String
The public key to be published to the instance. To use it after publication you must have the matching private key.