NodegroupRemoteAccess

class aws_cdk.aws_eks.NodegroupRemoteAccess(*, ssh_key_name, source_security_groups=None)

Bases: object

__init__(*, ssh_key_name, source_security_groups=None)

The remote access (SSH) configuration to use with your node group.

Parameters
  • ssh_key_name (str) – The Amazon EC2 SSH key that provides access for SSH communication with the worker nodes in the managed node group.

  • source_security_groups (Optional[List[ISecurityGroup]]) – 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). Default: - port 22 on the worker nodes is opened to the internet (0.0.0.0/0)

see :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-remoteaccess.html stability :stability: experimental

Return type

None

Attributes

source_security_groups

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).

default :default: - port 22 on the worker nodes is opened to the internet (0.0.0.0/0)

stability :stability: experimental

Return type

Optional[List[ISecurityGroup]]

ssh_key_name

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

stability :stability: experimental

Return type

str