NodegroupRemoteAccess

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

Bases: object

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

Parameters
  • ssh_key_name (str) – (experimental) 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]]) – (experimental) 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

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

Stability

experimental

Attributes

source_security_groups

(experimental) 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)

Stability

experimental

Return type

Optional[List[ISecurityGroup]]

ssh_key_name

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

Stability

experimental

Return type

str