Class: AWS::ApiGateway::Stage

Inherits:
ModelElement show all
Defined in:
lib/cfn-model/model/api_gateway_stage.rb

Instance Attribute Summary collapse

Attributes inherited from ModelElement

#logical_resource_id, #metadata, #resource_type

Instance Method Summary collapse

Methods inherited from ModelElement

#==, #to_s

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

#deploymentObject

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_idsObject

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