Method: Awspec::Type::EksNodeEC2#initialize
- Defined in:
- lib/awspec/type/eks_nodegroup.rb
#initialize(id, state, subnet_id, sec_groups) ⇒ EksNodeEC2
Returns a new instance of EksNodeEC2.
| 9 10 11 12 13 14 | # File 'lib/awspec/type/eks_nodegroup.rb', line 9 def initialize(id, state, subnet_id, sec_groups) @id = id @state = state @subnet_id = subnet_id @sec_groups = sec_groups end |