Sha256: 6d9b07ed3b2a9710f4f5f70b83f7b344301cfc7fbc82c0c303b26e16eb580b23
Contents?: true
Size: 899 Bytes
Versions: 15
Compression:
Stored size: 899 Bytes
Contents
module Jets::Cfn::Resource::Nested::Api # interface method class Methods < Page def definition { "ApiMethods#{@page_number}" => { Type: "AWS::CloudFormation::Stack", Properties: { TemplateURL: template_url, Parameters: parameters, }, } } end # Read current paged ApiMethods1 template and see what parameters it needs. # Then add them to the params hash from Controller Lambda functions outputs # Example: # # api-methods-1.yml: # # params["PostsControllerIndexLambdaFunction"] = "!GetAtt UpController.Outputs.PostsControllerIndexLambdaFunction" # def parameters template_path = Jets::Names.api_methods_template_path(@page_number) api_methods = Jets::Cfn::Params::Api::Methods.new(template_path: template_path) api_methods.params end end end
Version data entries
15 entries across 15 versions & 1 rubygems