Class: Awspec::Type::EksNodeSecGroup
- Inherits:
-
Object
- Object
- Awspec::Type::EksNodeSecGroup
- Defined in:
- lib/awspec/type/eks_nodegroup.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ EksNodeSecGroup
constructor
A new instance of EksNodeSecGroup.
- #to_s ⇒ Object
Constructor Details
#initialize(id, name) ⇒ EksNodeSecGroup
Returns a new instance of EksNodeSecGroup.
22 23 24 25 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 22 def initialize(id, name) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
20 21 22 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 20 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
20 21 22 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 20 def name @name end |
Instance Method Details
#to_s ⇒ Object
27 28 29 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 27 def to_s "ID: #{@id}, Name: #{@name}" end |