@Stability(value=Stable) public static final class CfnNodegroup.RemoteAccessProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnNodegroup.RemoteAccessProperty>
CfnNodegroup.RemoteAccessProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnNodegroup.RemoteAccessProperty |
build()
Builds the configured instance.
|
CfnNodegroup.RemoteAccessProperty.Builder |
ec2SshKey(String ec2SshKey)
Sets the value of
CfnNodegroup.RemoteAccessProperty.getEc2SshKey() |
CfnNodegroup.RemoteAccessProperty.Builder |
sourceSecurityGroups(List<String> sourceSecurityGroups)
Sets the value of
CfnNodegroup.RemoteAccessProperty.getSourceSecurityGroups() |
@Stability(value=Stable) public CfnNodegroup.RemoteAccessProperty.Builder ec2SshKey(String ec2SshKey)
CfnNodegroup.RemoteAccessProperty.getEc2SshKey()ec2SshKey - The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the managed node group. This parameter is required.
For more information, see Amazon EC2 key pairs and Linux instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances .this@Stability(value=Stable) public CfnNodegroup.RemoteAccessProperty.Builder sourceSecurityGroups(List<String> sourceSecurityGroups)
CfnNodegroup.RemoteAccessProperty.getSourceSecurityGroups()sourceSecurityGroups - The security groups that are allowed SSH access (port 22) to the 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 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 .this@Stability(value=Stable) public CfnNodegroup.RemoteAccessProperty build()
build in interface software.amazon.jsii.Builder<CfnNodegroup.RemoteAccessProperty>CfnNodegroup.RemoteAccessPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.