# frozen_string_literal: true

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

module Litany
  class SNS < MetaResource
    include Stack

    resource_references Environment, :environment, inherited: true
    resource_collection SNSTopic, :topic
    resource_collection LambdaFunction, :lambda_function, required: false
    resource_collection EventsRule, :event_rule, required: false

  end
end