[][src]Struct rusoto_lightsail::InstanceAccessDetails

pub struct InstanceAccessDetails {
    pub cert_key: Option<String>,
    pub expires_at: Option<f64>,
    pub host_keys: Option<Vec<HostKeyAttributes>>,
    pub instance_name: Option<String>,
    pub ip_address: Option<String>,
    pub password: Option<String>,
    pub password_data: Option<PasswordData>,
    pub private_key: Option<String>,
    pub protocol: Option<String>,
    pub username: Option<String>,
}

The parameters for gaining temporary access to one of your Amazon Lightsail instances.

Fields

cert_key: Option<String>

For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey-cert.pub.

expires_at: Option<f64>

For SSH access, the date on which the temporary keys expire.

host_keys: Option<Vec<HostKeyAttributes>>

Describes the public SSH host keys or the RDP certificate.

instance_name: Option<String>

The name of this Amazon Lightsail instance.

ip_address: Option<String>

The public IP address of the Amazon Lightsail instance.

password: Option<String>

For RDP access, the password for your Amazon Lightsail instance. Password will be an empty string if the password for your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.

If you create an instance using any key pair other than the default (LightsailDefaultKeyPair), password will always be an empty string.

If you change the Administrator password on the instance, Lightsail will continue to return the original password value. When accessing the instance using RDP, you need to manually enter the Administrator password after changing it from the default.

password_data: Option<PasswordData>

For a Windows Server-based instance, an object with the data you can use to retrieve your password. This is only needed if password is empty and the instance is not new (and therefore the password is not ready yet). When you create an instance, it can take up to 15 minutes for the instance to be ready.

private_key: Option<String>

For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey).

protocol: Option<String>

The protocol for these Amazon Lightsail instance access details.

username: Option<String>

The user name to use when logging in to the Amazon Lightsail instance.

Trait Implementations

impl PartialEq<InstanceAccessDetails> for InstanceAccessDetails[src]

impl Default for InstanceAccessDetails[src]

impl Clone for InstanceAccessDetails[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for InstanceAccessDetails[src]

impl<'de> Deserialize<'de> for InstanceAccessDetails[src]

Auto Trait Implementations

impl Send for InstanceAccessDetails

impl Sync for InstanceAccessDetails

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self