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.
24 25 26 27 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 24 def initialize(id, name) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
22 23 24 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 22 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
22 23 24 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 22 def name @name end |
Instance Method Details
#to_s ⇒ Object
29 30 31 |
# File 'lib/awspec/type/eks_nodegroup.rb', line 29 def to_s "ID: #{@id}, Name: #{@name}" end |