interface NodegroupRemoteAccess
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Eks.V2.Alpha.NodegroupRemoteAccess | 
|  Go | github.com/aws/aws-cdk-go/awscdkeks-v2alpha/v2#NodegroupRemoteAccess | 
|  Java | software.amazon.awscdk.services.eks.v2.alpha.NodegroupRemoteAccess | 
|  Python | aws_cdk.aws_eks_v2_alpha.NodegroupRemoteAccess | 
|  TypeScript (source) | @aws-cdk/aws-eks-v2-alpha»NodegroupRemoteAccess | 
The remote access (SSH) configuration to use with your node group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as eks_v2_alpha from '@aws-cdk/aws-eks-v2-alpha';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
declare const securityGroup: ec2.SecurityGroup;
const nodegroupRemoteAccess: eks_v2_alpha.NodegroupRemoteAccess = {
  sshKeyName: 'sshKeyName',
  // the properties below are optional
  sourceSecurityGroups: [securityGroup],
};
Properties
| Name | Type | Description | 
|---|---|---|
| ssh | string | The Amazon EC2 SSH key that provides access for SSH communication with the worker nodes in the managed node group. | 
| source | ISecurity[] | The security groups that are allowed SSH access (port 22) to the worker nodes. | 
sshKeyName
Type:
string
The Amazon EC2 SSH key that provides access for SSH communication with the worker nodes in the managed node group.
sourceSecurityGroups?
Type:
ISecurity[]
(optional, default: port 22 on the worker nodes is opened to the internet (0.0.0.0/0))
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).
