Struct aws_sdk_eks::model::RemoteAccessConfig
source · [−]#[non_exhaustive]pub struct RemoteAccessConfig {
pub ec2_ssh_key: Option<String>,
pub source_security_groups: Option<Vec<String>>,
}
Expand description
An object representing the remote access configuration for the managed node group.
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.ec2_ssh_key: Option<String>
The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the managed node group. For more information, see Amazon EC2 key pairs and Linux instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances.
source_security_groups: Option<Vec<String>>
The security groups that are allowed SSH access (port 22) to the nodes. If you specify an Amazon EC2 SSH key but do not specify a source security group when you create a managed node group, then port 22 on the nodes is opened to the internet (0.0.0.0/0). For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
Implementations
sourceimpl RemoteAccessConfig
impl RemoteAccessConfig
sourcepub fn ec2_ssh_key(&self) -> Option<&str>
pub fn ec2_ssh_key(&self) -> Option<&str>
The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the managed node group. For more information, see Amazon EC2 key pairs and Linux instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances.
sourcepub fn source_security_groups(&self) -> Option<&[String]>
pub fn source_security_groups(&self) -> Option<&[String]>
The security groups that are allowed SSH access (port 22) to the nodes. If you specify an Amazon EC2 SSH key but do not specify a source security group when you create a managed node group, then port 22 on the nodes is opened to the internet (0.0.0.0/0). For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
sourceimpl RemoteAccessConfig
impl RemoteAccessConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RemoteAccessConfig
Trait Implementations
sourceimpl Clone for RemoteAccessConfig
impl Clone for RemoteAccessConfig
sourcefn clone(&self) -> RemoteAccessConfig
fn clone(&self) -> RemoteAccessConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RemoteAccessConfig
impl Debug for RemoteAccessConfig
sourceimpl PartialEq<RemoteAccessConfig> for RemoteAccessConfig
impl PartialEq<RemoteAccessConfig> for RemoteAccessConfig
sourcefn eq(&self, other: &RemoteAccessConfig) -> bool
fn eq(&self, other: &RemoteAccessConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RemoteAccessConfig) -> bool
fn ne(&self, other: &RemoteAccessConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for RemoteAccessConfig
Auto Trait Implementations
impl RefUnwindSafe for RemoteAccessConfig
impl Send for RemoteAccessConfig
impl Sync for RemoteAccessConfig
impl Unpin for RemoteAccessConfig
impl UnwindSafe for RemoteAccessConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more