Retrieves the encrypted administrator password for the instances running Windows.
Declaration Syntax
C# |
public class GetPasswordDataRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | 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 |
The ID of the instance for which to get the password.
| |
IsSetInstanceId()()()() |
Checks if InstanceId property is set
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithInstanceId(String) | Obsolete.
Sets the ID of the instance for which to get the password.
|
Remarks
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.
Inheritance Hierarchy
Object | ||
EC2Request | ||
GetPasswordDataRequest |