Class: Foobara::AWS::Unit
- Inherits:
-
Data
- Object
- Data
- Foobara::AWS::Unit
- Defined in:
- lib/foobara/aws/plan.rb
Overview
One deployment unit: a Lambda, and the route that reaches it.
name is a stable identifier ("posts"), route the API Gateway route key
path, and public_commands the ones callable without authentication —
derived from the manifest, never handed in.
sizing is whatever the unit's commands declared with
Lambda, reduced to one value per key — empty when none
of them said anything.
Instance Attribute Summary collapse
-
#commands ⇒ Object
readonly
Returns the value of attribute commands.
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#public_commands ⇒ Object
readonly
Returns the value of attribute public_commands.
-
#route ⇒ Object
readonly
Returns the value of attribute route.
-
#sizing ⇒ Object
readonly
Returns the value of attribute sizing.
Instance Attribute Details
#commands ⇒ Object (readonly)
Returns the value of attribute commands
15 16 17 |
# File 'lib/foobara/aws/plan.rb', line 15 def commands @commands end |
#group ⇒ Object (readonly)
Returns the value of attribute group
15 16 17 |
# File 'lib/foobara/aws/plan.rb', line 15 def group @group end |
#name ⇒ Object (readonly)
Returns the value of attribute name
15 16 17 |
# File 'lib/foobara/aws/plan.rb', line 15 def name @name end |
#public_commands ⇒ Object (readonly)
Returns the value of attribute public_commands
15 16 17 |
# File 'lib/foobara/aws/plan.rb', line 15 def public_commands @public_commands end |
#route ⇒ Object (readonly)
Returns the value of attribute route
15 16 17 |
# File 'lib/foobara/aws/plan.rb', line 15 def route @route end |
#sizing ⇒ Object (readonly)
Returns the value of attribute sizing
15 16 17 |
# File 'lib/foobara/aws/plan.rb', line 15 def sizing @sizing end |