Struct aws_sdk_eks::types::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 name 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. For Windows, an Amazon EC2 SSH key is used to obtain the RDP password. For more information, see Amazon EC2 key pairs and Windows instances in the Amazon Elastic Compute Cloud User Guide for Windows Instances.
source_security_groups: Option<Vec<String>>
The security group IDs that are allowed SSH access (port 22) to the nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH key but don't specify a source security group when you create a managed node group, then the port 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§
source§impl RemoteAccessConfig
impl RemoteAccessConfig
sourcepub fn ec2_ssh_key(&self) -> Option<&str>
pub fn ec2_ssh_key(&self) -> Option<&str>
The Amazon EC2 SSH key name 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. For Windows, an Amazon EC2 SSH key is used to obtain the RDP password. For more information, see Amazon EC2 key pairs and Windows instances in the Amazon Elastic Compute Cloud User Guide for Windows Instances.
sourcepub fn source_security_groups(&self) -> Option<&[String]>
pub fn source_security_groups(&self) -> Option<&[String]>
The security group IDs that are allowed SSH access (port 22) to the nodes. For Windows, the port is 3389. If you specify an Amazon EC2 SSH key but don't specify a source security group when you create a managed node group, then the port 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.
source§impl RemoteAccessConfig
impl RemoteAccessConfig
sourcepub fn builder() -> RemoteAccessConfigBuilder
pub fn builder() -> RemoteAccessConfigBuilder
Creates a new builder-style object to manufacture RemoteAccessConfig
.
Trait Implementations§
source§impl Clone for RemoteAccessConfig
impl Clone for RemoteAccessConfig
source§fn clone(&self) -> RemoteAccessConfig
fn clone(&self) -> RemoteAccessConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RemoteAccessConfig
impl Debug for RemoteAccessConfig
source§impl PartialEq for RemoteAccessConfig
impl PartialEq for RemoteAccessConfig
source§fn eq(&self, other: &RemoteAccessConfig) -> bool
fn eq(&self, other: &RemoteAccessConfig) -> bool
self
and other
values to be equal, and is used
by ==
.