Sha256: db5913d4bb14ae8560701ffde0b02f9999a3e75248fb05fb91779b953b41ab13

Contents?: true

Size: 500 Bytes

Versions: 153

Compression:

Stored size: 500 Bytes

Contents

# Implements:
#
#   definition
#   template_filename
#
module Jets::Resource::ChildStack
  class ApiGateway < Base
    def definition
      {
        api_gateway: {
          type: "AWS::CloudFormation::Stack",
          properties: {
            template_url: template_url,
          }
        }
      }
    end

    def outputs
      {
        logical_id => "!Ref #{logical_id}",
      }
    end

    def template_filename
      "#{Jets.config.project_namespace}-api-gateway.yml"
    end
  end
end

Version data entries

153 entries across 153 versions & 2 rubygems

Version Path
jets-1.9.16 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.15 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.14 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.13 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.12 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.11 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.10 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.9 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.8 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.7 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.6 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.5 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.4 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.3 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.2 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.1 lib/jets/resource/child_stack/api_gateway.rb
jets-1.9.0 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.14 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.13 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.12 lib/jets/resource/child_stack/api_gateway.rb