Retrieves the encrypted administrator password for the instances running Windows.
public class GetPasswordDataRequest : EC2Request
Initializes a new instance of theclass
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
The ID of the instance for which to get the password.
Checks if InstanceId property is set
Returns a string that represents the current object.(Inherited from Object.)
Sets the ID of the instance for which to get the password.
AWSSDK (Module: AWSSDK) Version: 18.104.22.168 (22.214.171.124)
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.