Class: Jets::Resource::ChildStack::ApiGateway
- Inherits:
-
Base
- Object
- Base
- Base
- Jets::Resource::ChildStack::ApiGateway
show all
- Defined in:
- lib/jets/resource/child_stack/api_gateway.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #template_url
Methods inherited from Base
#replacements, #resource
Instance Method Details
#definition ⇒ Object
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/jets/resource/child_stack/api_gateway.rb', line 8
def definition
{
api_gateway: {
type: "AWS::CloudFormation::Stack",
properties: {
template_url: template_url,
}
}
}
end
|
#outputs ⇒ Object
19
20
21
22
23
|
# File 'lib/jets/resource/child_stack/api_gateway.rb', line 19
def outputs
{
logical_id => "!Ref #{logical_id}",
}
end
|
#template_filename ⇒ Object
25
26
27
|
# File 'lib/jets/resource/child_stack/api_gateway.rb', line 25
def template_filename
"#{Jets.config.project_namespace}-api-gateway.yml"
end
|