Class: Aws::EC2InstanceConnect::Types::SendSSHPublicKeyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2instanceconnect/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone in which the EC2 instance was launched.

Returns:

  • (String)


117
118
119
120
121
122
123
124
# File 'lib/aws-sdk-ec2instanceconnect/types.rb', line 117

class SendSSHPublicKeyRequest < Struct.new(
  :instance_id,
  :instance_os_user,
  :ssh_public_key,
  :availability_zone)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the EC2 instance.

Returns:

  • (String)


117
118
119
120
121
122
123
124
# File 'lib/aws-sdk-ec2instanceconnect/types.rb', line 117

class SendSSHPublicKeyRequest < Struct.new(
  :instance_id,
  :instance_os_user,
  :ssh_public_key,
  :availability_zone)
  SENSITIVE = []
  include Aws::Structure
end

#instance_os_userString

The OS user on the EC2 instance for whom the key can be used to authenticate.

Returns:

  • (String)


117
118
119
120
121
122
123
124
# File 'lib/aws-sdk-ec2instanceconnect/types.rb', line 117

class SendSSHPublicKeyRequest < Struct.new(
  :instance_id,
  :instance_os_user,
  :ssh_public_key,
  :availability_zone)
  SENSITIVE = []
  include Aws::Structure
end

#ssh_public_keyString

The public key material. To use the public key, you must have the matching private key.

Returns:

  • (String)


117
118
119
120
121
122
123
124
# File 'lib/aws-sdk-ec2instanceconnect/types.rb', line 117

class SendSSHPublicKeyRequest < Struct.new(
  :instance_id,
  :instance_os_user,
  :ssh_public_key,
  :availability_zone)
  SENSITIVE = []
  include Aws::Structure
end