Class: Aws::EKS::Types::RemoteAccessConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-eks/types.rb

Overview

Note:

When making an API call, you may pass RemoteAccessConfig data as a hash:

{
  ec2_ssh_key: "String",
  source_security_groups: ["String"],
}

An object representing the remote access configuration for the managed node group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_ssh_keyString

The Amazon EC2 SSH key that provides access for SSH communication with the nodes in the managed node group. For more information, see

Amazon EC2 Key Pairs][1

in the *Amazon Elastic Compute Cloud User

Guide for Linux Instances*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html

Returns:

  • (String)

3129
3130
3131
3132
3133
3134
# File 'lib/aws-sdk-eks/types.rb', line 3129

class RemoteAccessConfig < Struct.new(
  :ec2_ssh_key,
  :source_security_groups)
  SENSITIVE = []
  include Aws::Structure
end

#source_security_groupsArray<String>

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*.

[1]: docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html

Returns:

  • (Array<String>)

3129
3130
3131
3132
3133
3134
# File 'lib/aws-sdk-eks/types.rb', line 3129

class RemoteAccessConfig < Struct.new(
  :ec2_ssh_key,
  :source_security_groups)
  SENSITIVE = []
  include Aws::Structure
end