# frozen_string_literal: true

require 'litany/mixins'
require 'litany/resource'

module Litany
  class LambdaService < MetaResource
    include Stack

    resource_collection SNSTopic, :topic, required: false
    resource_collection SQSQueue, :queue, required: false
    resource_collection LambdaFunction, :lambda_function, required: false

    resource_references Environment, :environment, inherited: true
    # resource_references Environment, :only_in, required: false
  end
end
