You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EKS::Types::RemoteAccessConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RemoteAccessConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  ec2_ssh_key: "String",
  source_security_groups: ["String"],
}

An object representing the remote access configuration for the managed node group.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_ssh_keyString

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.

Returns:

  • (String)

    The Amazon EC2 SSH key that provides access for SSH communication with the worker nodes in the managed node group.

#source_security_groupsArray<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.

Returns:

  • (Array<String>)

    The security groups that are allowed SSH access (port 22) to the worker nodes.