Sha256: 3a625f36df754405fee2a3b068fd247bb53adbfdcbf0f092b1e91041dfe4f68c

Contents?: true

Size: 573 Bytes

Versions: 15

Compression:

Stored size: 573 Bytes

Contents

module Jets::Cfn::Resource::Nested::Api
  class Resources < Page
    # interface method
    def definition
      {
        "ApiResources#{@page_number}" =>  {
          Type: "AWS::CloudFormation::Stack",
          Properties: {
            TemplateURL: template_url,
            Parameters: parameters,
          }
        }
      }
    end

    def parameters
      template_path = Jets::Names.api_resources_template_path(@page_number)
      api_resources = Jets::Cfn::Params::Api::Resources.new(template_path: template_path)
      api_resources.params
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.12 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.11 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.10 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.9 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.8 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.7 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.6 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.5 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.4 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.3 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.2 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.1 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.0 lib/jets/cfn/resource/nested/api/resources.rb
jets-5.0.0.beta1 lib/jets/cfn/resource/nested/api/resources.rb