Struct aws_sdk_eks::types::builders::RemoteAccessConfigBuilder
source · #[non_exhaustive]pub struct RemoteAccessConfigBuilder { /* private fields */ }
Expand description
A builder for RemoteAccessConfig
.
Implementations§
source§impl RemoteAccessConfigBuilder
impl RemoteAccessConfigBuilder
sourcepub fn ec2_ssh_key(self, input: impl Into<String>) -> Self
pub fn ec2_ssh_key(self, input: impl Into<String>) -> Self
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 set_ec2_ssh_key(self, input: Option<String>) -> Self
pub fn set_ec2_ssh_key(self, input: Option<String>) -> Self
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 get_ec2_ssh_key(&self) -> &Option<String>
pub fn get_ec2_ssh_key(&self) -> &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.
sourcepub fn source_security_groups(self, input: impl Into<String>) -> Self
pub fn source_security_groups(self, input: impl Into<String>) -> Self
Appends an item to source_security_groups
.
To override the contents of this collection use set_source_security_groups
.
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.
sourcepub fn set_source_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_source_security_groups(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn get_source_security_groups(&self) -> &Option<Vec<String>>
pub fn get_source_security_groups(&self) -> &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.
sourcepub fn build(self) -> RemoteAccessConfig
pub fn build(self) -> RemoteAccessConfig
Consumes the builder and constructs a RemoteAccessConfig
.
Trait Implementations§
source§impl Clone for RemoteAccessConfigBuilder
impl Clone for RemoteAccessConfigBuilder
source§fn clone(&self) -> RemoteAccessConfigBuilder
fn clone(&self) -> RemoteAccessConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RemoteAccessConfigBuilder
impl Debug for RemoteAccessConfigBuilder
source§impl Default for RemoteAccessConfigBuilder
impl Default for RemoteAccessConfigBuilder
source§fn default() -> RemoteAccessConfigBuilder
fn default() -> RemoteAccessConfigBuilder
source§impl PartialEq for RemoteAccessConfigBuilder
impl PartialEq for RemoteAccessConfigBuilder
source§fn eq(&self, other: &RemoteAccessConfigBuilder) -> bool
fn eq(&self, other: &RemoteAccessConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.