Class: AWS::ApiGateway::Stage
- Inherits:
-
ModelElement
- Object
- ModelElement
- AWS::ApiGateway::Stage
- Defined in:
- lib/cfn-model/model/api_gateway_stage.rb
Instance Attribute Summary collapse
-
#deployment ⇒ Object
Returns the value of attribute deployment.
-
#usage_plan_ids ⇒ Object
Returns the value of attribute usage_plan_ids.
Attributes inherited from ModelElement
#logical_resource_id, #metadata, #resource_type
Instance Method Summary collapse
-
#initialize(cfn_model) ⇒ Stage
constructor
A new instance of Stage.
Methods inherited from ModelElement
Constructor Details
#initialize(cfn_model) ⇒ Stage
Returns a new instance of Stage.
8 9 10 11 12 13 |
# File 'lib/cfn-model/model/api_gateway_stage.rb', line 8 def initialize(cfn_model) super @usage_plan_ids = [] @deployment = nil @resource_type = 'AWS::ApiGateway::Stage' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ModelElement
Instance Attribute Details
#deployment ⇒ Object
Returns the value of attribute deployment.
6 7 8 |
# File 'lib/cfn-model/model/api_gateway_stage.rb', line 6 def deployment @deployment end |
#usage_plan_ids ⇒ Object
Returns the value of attribute usage_plan_ids.
6 7 8 |
# File 'lib/cfn-model/model/api_gateway_stage.rb', line 6 def usage_plan_ids @usage_plan_ids end |