Retrieves the encrypted administrator password
for the instances running
Windows.
Note - the Windows password is
only generated the first time an AMI is launched.
It is not generated for rebundled AMIs or after the password is
changed on an instance.
The password is encrypted using the key pair that you
provided.
Namespace: Amazon.EC2.ModelAssembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class GetPasswordDataRequest
Public Class GetPasswordDataRequest
public ref class GetPasswordDataRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| GetPasswordDataRequest()()()() | Initializes a new instance of the GetPasswordDataRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InstanceId |
Gets and sets the InstanceId property.
The ID of the instance for which to get the
password.
| |
| IsSetInstanceId()()()() |
Checks if InstanceId property is set
| |
| ToString()()()() | (Inherited from Object.) | |
| WithInstanceId(String) |
Sets the InstanceId property
|