/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing the remote access configuration for the managed node
* group.See Also:
AWS
* API Reference
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.
*/ inline const Aws::String& GetEc2SshKey() const{ return m_ec2SshKey; } /** *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.
*/ inline bool Ec2SshKeyHasBeenSet() const { return m_ec2SshKeyHasBeenSet; } /** *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.
*/ inline void SetEc2SshKey(const Aws::String& value) { m_ec2SshKeyHasBeenSet = true; m_ec2SshKey = value; } /** *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.
*/ inline void SetEc2SshKey(Aws::String&& value) { m_ec2SshKeyHasBeenSet = true; m_ec2SshKey = std::move(value); } /** *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.
*/ inline void SetEc2SshKey(const char* value) { m_ec2SshKeyHasBeenSet = true; m_ec2SshKey.assign(value); } /** *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.
*/ inline RemoteAccessConfig& WithEc2SshKey(const Aws::String& value) { SetEc2SshKey(value); return *this;} /** *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.
*/ inline RemoteAccessConfig& WithEc2SshKey(Aws::String&& value) { SetEc2SshKey(std::move(value)); return *this;} /** *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.
*/ inline RemoteAccessConfig& WithEc2SshKey(const char* value) { SetEc2SshKey(value); return *this;} /** *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.
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.
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.
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.
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.
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.
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.
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.
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.