interface RemoteAccessProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EKS.Legacy.CfnNodegroup.RemoteAccessProperty |
![]() | software.amazon.awscdk.services.eks.legacy.CfnNodegroup.RemoteAccessProperty |
![]() | aws_cdk.aws_eks_legacy.CfnNodegroup.RemoteAccessProperty |
![]() | @aws-cdk/aws-eks-legacy » CfnNodegroup » RemoteAccessProperty |
An object representing the remote access configuration for the managed 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_legacy from '@aws-cdk/aws-eks-legacy';
const remoteAccessProperty: eks_legacy.CfnNodegroup.RemoteAccessProperty = {
ec2SshKey: 'ec2SshKey',
// the properties below are optional
sourceSecurityGroups: ['sourceSecurityGroups'],
};
Properties
Name | Type | Description |
---|---|---|
ec2 | string | The Amazon EC2 SSH key name that provides access for SSH communication with the nodes in the managed node group. |
source | string[] | The security group IDs that are allowed SSH access (port 22) to the nodes. |
ec2SshKey
Type:
string
The Amazon EC2 SSH key name that provides access for SSH communication with the nodes in the managed node group.
For more information, see Amazon EC2 key pairs and Linux instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances . For Windows, an Amazon EC2 SSH key is used to obtain the RDP password. For more information, see Amazon EC2 key pairs and Windows instances in the Amazon Elastic Compute Cloud User Guide for Windows Instances .
sourceSecurityGroups?
Type:
string[]
(optional)
The security group IDs that are allowed SSH access (port 22) to the nodes.
For Windows, the port is 3389. If you specify an Amazon EC2 SSH key but don't specify a source security group when you create a managed node group, then the port on the 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 .