pub struct RemoteAccessConfig {
pub ec_2_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§
§ec_2_ssh_key: Option<String>
The Amazon EC2 SSH key that provides access for SSH communication with the worker nodes in the managed node group. For more information, see Amazon EC2 Key Pairs 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 worker 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 worker 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.
Trait Implementations§
Source§impl Clone for RemoteAccessConfig
impl Clone for RemoteAccessConfig
Source§fn clone(&self) -> RemoteAccessConfig
fn clone(&self) -> RemoteAccessConfig
Returns a duplicate 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 RemoteAccessConfig
impl Debug for RemoteAccessConfig
Source§impl Default for RemoteAccessConfig
impl Default for RemoteAccessConfig
Source§fn default() -> RemoteAccessConfig
fn default() -> RemoteAccessConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoteAccessConfig
impl<'de> Deserialize<'de> for RemoteAccessConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RemoteAccessConfig
impl PartialEq for RemoteAccessConfig
Source§impl Serialize for RemoteAccessConfig
impl Serialize for RemoteAccessConfig
impl StructuralPartialEq for RemoteAccessConfig
Auto Trait Implementations§
impl Freeze for RemoteAccessConfig
impl RefUnwindSafe for RemoteAccessConfig
impl Send for RemoteAccessConfig
impl Sync for RemoteAccessConfig
impl Unpin for RemoteAccessConfig
impl UnwindSafe for RemoteAccessConfig
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