/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the eks-2017-11-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.EKS.Model { /// /// An object representing the remote access configuration for the managed node group. /// public partial class RemoteAccessConfig { private string _ec2SshKey; private List _sourceSecurityGroups = new List(); /// /// Gets and sets the property 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. /// /// public string Ec2SshKey { get { return this._ec2SshKey; } set { this._ec2SshKey = value; } } // Check to see if Ec2SshKey property is set internal bool IsSetEc2SshKey() { return this._ec2SshKey != null; } /// /// Gets and sets the property SourceSecurityGroups. /// /// 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. /// /// public List SourceSecurityGroups { get { return this._sourceSecurityGroups; } set { this._sourceSecurityGroups = value; } } // Check to see if SourceSecurityGroups property is set internal bool IsSetSourceSecurityGroups() { return this._sourceSecurityGroups != null && this._sourceSecurityGroups.Count > 0; } } }