NAME

Paws::EC2InstanceConnect - Perl Interface to AWS AWS EC2 Instance Connect

SYNOPSIS

use Paws;

my $obj = Paws->service('EC2InstanceConnect');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

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.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02

METHODS

SendSerialConsoleSSHPublicKey

InstanceId => Str
SSHPublicKey => Str
[SerialPort => Int]

Each argument is described in detail in: Paws::EC2InstanceConnect::SendSerialConsoleSSHPublicKey

Returns: a Paws::EC2InstanceConnect::SendSerialConsoleSSHPublicKeyResponse instance

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 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html) in the Amazon EC2 User Guide.

SendSSHPublicKey

AvailabilityZone => Str
InstanceId => Str
InstanceOSUser => Str
SSHPublicKey => Str

Each argument is described in detail in: Paws::EC2InstanceConnect::SendSSHPublicKey

Returns: a Paws::EC2InstanceConnect::SendSSHPublicKeyResponse instance

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 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html) in the Amazon EC2 User Guide.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues