Struct aws_sdk_opsworks::model::TemporaryCredential
source · [−]#[non_exhaustive]pub struct TemporaryCredential {
pub username: Option<String>,
pub password: Option<String>,
pub valid_for_in_minutes: Option<i32>,
pub instance_id: Option<String>,
}
Expand description
Contains the data needed by RDP clients such as the Microsoft Remote Desktop Connection to log in to the instance.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.username: Option<String>
The user name.
password: Option<String>
The password.
valid_for_in_minutes: Option<i32>
The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this period, the user will no longer be able to use the credentials to log in. If they are logged in at the time, they will be automatically logged out.
instance_id: Option<String>
The instance's AWS OpsWorks Stacks ID.
Implementations
The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this period, the user will no longer be able to use the credentials to log in. If they are logged in at the time, they will be automatically logged out.
The instance's AWS OpsWorks Stacks ID.
Creates a new builder-style object to manufacture TemporaryCredential
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TemporaryCredential
impl Send for TemporaryCredential
impl Sync for TemporaryCredential
impl Unpin for TemporaryCredential
impl UnwindSafe for TemporaryCredential
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more