1VM::EC2::Instance::PassUwsoerrdDCaotnat(r3i)buted Perl DVoMc:u:mEeCn2t:a:tIinosntance::PasswordData(3)
2
3
4
6 VM::EC2::PasswordData - Object describing the administrative password
7 stored in an EC2 Windows instance
8
10 use VM::EC2;
11
12 $ec2 = VM::EC2->new(...);
13 $instance = $ec2->describe_instances(-instance_id=>'i-12345');
14 $pass = $instance->password_data;
15 print $pass->password,"\n";
16 print $pass->timestamp,"\n"
17
19 This object represents the administrative password stored in a Windows
20 EC2 instance. It is returned by calling either
21 VM::EC2->get_password_data or a VM::EC2::Instance object's
22 password_data() method.
23
25 These object methods are supported:
26
27 instanceId -- ID of the instance
28 timestamp -- The time the data was last updated.
29 passwordData -- The password of the instance.
30 password() -- Same as passwordData().
31
33 When used in a string context, this object will interpolate the
34 password.
35
37 VM::EC2 VM::EC2::Generic VM::EC2::Instance
38
40 Lincoln Stein <lincoln.stein@gmail.com>.
41
42 Copyright (c) 2011 Ontario Institute for Cancer Research
43
44 This package and its accompanying libraries is free software; you can
45 redistribute it and/or modify it under the terms of the GPL (either
46 version 1, or at your option, any later version) or the Artistic
47 License 2.0. Refer to LICENSE for the full license text. In addition,
48 please see DISCLAIMER.txt for disclaimers of warranty.
49
50
51
52perl v5.30.1 2020-02-07VM::EC2::Instance::PasswordData(3)