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.8.11 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.10 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.9 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.8 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.7 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.6 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.5 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.4 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.3 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.2 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.1 lib/jets/resource/child_stack/api_gateway.rb
jets-1.8.0 lib/jets/resource/child_stack/api_gateway.rb
jets-1.7.2 lib/jets/resource/child_stack/api_gateway.rb
jets-1.7.1 lib/jets/resource/child_stack/api_gateway.rb
jets-1.7.0 lib/jets/resource/child_stack/api_gateway.rb
jets-fs-1.6.10 lib/jets/resource/child_stack/api_gateway.rb
jets-1.6.9 lib/jets/resource/child_stack/api_gateway.rb
jets-1.6.8 lib/jets/resource/child_stack/api_gateway.rb
jets-1.6.7 lib/jets/resource/child_stack/api_gateway.rb
jets-1.6.6 lib/jets/resource/child_stack/api_gateway.rb