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: 126.96.36.199 (188.8.131.52)
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.