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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eks/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 worker nodes in the managed node group. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

Returns:

  • (String)


1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 1982

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

Returns:

  • (Array<String>)


1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/types.rb', line 1982

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