@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.958Z") @Stability(value=Stable) public interface NodegroupRemoteAccess extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.eks.*;
SecurityGroup securityGroup;
NodegroupRemoteAccess nodegroupRemoteAccess = NodegroupRemoteAccess.builder()
.sshKeyName("sshKeyName")
// the properties below are optional
.sourceSecurityGroups(List.of(securityGroup))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
NodegroupRemoteAccess.Builder
A builder for
NodegroupRemoteAccess |
static class |
NodegroupRemoteAccess.Jsii$Proxy
An implementation for
NodegroupRemoteAccess |
| Modifier and Type | Method and Description |
|---|---|
static NodegroupRemoteAccess.Builder |
builder() |
default List<ISecurityGroup> |
getSourceSecurityGroups()
The security groups that are allowed SSH access (port 22) to the worker nodes.
|
String |
getSshKeyName()
The Amazon EC2 SSH key that provides access for SSH communication with the worker nodes in the managed node group.
|
@Stability(value=Stable) @NotNull String getSshKeyName()
@Stability(value=Stable) @Nullable default List<ISecurityGroup> getSourceSecurityGroups()
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(value=Stable) static NodegroupRemoteAccess.Builder builder()
NodegroupRemoteAccess.Builder of NodegroupRemoteAccessCopyright © 2022. All rights reserved.