Class: Jets::Resource::ChildStack::ApiGateway
- Defined in:
- lib/jets/resource/child_stack/api_gateway.rb
Instance Method Summary collapse
- #definition ⇒ Object
-
#initialize(s3_bucket) ⇒ ApiGateway
constructor
A new instance of ApiGateway.
- #outputs ⇒ Object
- #template_url ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(s3_bucket) ⇒ ApiGateway
Returns a new instance of ApiGateway.
3 4 5 |
# File 'lib/jets/resource/child_stack/api_gateway.rb', line 3 def initialize(s3_bucket) @s3_bucket = s3_bucket end |
Instance Method Details
#definition ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/jets/resource/child_stack/api_gateway.rb', line 7 def definition { api_gateway: { type: "AWS::CloudFormation::Stack", properties: { template_url: template_url, } } } end |
#outputs ⇒ Object
18 19 20 21 22 |
# File 'lib/jets/resource/child_stack/api_gateway.rb', line 18 def outputs { logical_id => "!Ref #{logical_id}", } end |