Struct aws_sdk_gamelift::types::InstanceCredentials
source · #[non_exhaustive]pub struct InstanceCredentials {
pub user_name: Option<String>,
pub secret: Option<String>,
}
Expand description
A set of credentials that allow remote access to an instance in an EC2 managed fleet. These credentials are returned in response to a call to GetInstanceAccess
, which requests access for instances that are running game servers with the Amazon GameLift server SDK version 4.x or earlier.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_name: Option<String>
A user name for logging in.
secret: Option<String>
Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop. For Linux instances, it's a private key for use with SSH.
Implementations§
source§impl InstanceCredentials
impl InstanceCredentials
sourcepub fn builder() -> InstanceCredentialsBuilder
pub fn builder() -> InstanceCredentialsBuilder
Creates a new builder-style object to manufacture InstanceCredentials
.
Trait Implementations§
source§impl Clone for InstanceCredentials
impl Clone for InstanceCredentials
source§fn clone(&self) -> InstanceCredentials
fn clone(&self) -> InstanceCredentials
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstanceCredentials
impl Debug for InstanceCredentials
source§impl PartialEq for InstanceCredentials
impl PartialEq for InstanceCredentials
source§fn eq(&self, other: &InstanceCredentials) -> bool
fn eq(&self, other: &InstanceCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceCredentials
Auto Trait Implementations§
impl RefUnwindSafe for InstanceCredentials
impl Send for InstanceCredentials
impl Sync for InstanceCredentials
impl Unpin for InstanceCredentials
impl UnwindSafe for InstanceCredentials
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.