class CloudFormer::CloudFormation::Authentication

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/cloud_former/metadata_resources/cloud_formation/authentication.rb, line 6
def initialize
  super
  @aws_type = 'AWS::CloudFormation::Authentication'
end

Public Instance Methods

dump_json() click to toggle source
# File lib/cloud_former/metadata_resources/cloud_formation/authentication.rb, line 18
def dump_json
  res = {}
  (@authentication_items || []).each do |item|
    res[item.get_name] = item.dump_json
  end
  res
end
items(values = nil) click to toggle source
# File lib/cloud_former/metadata_resources/cloud_formation/authentication.rb, line 11
def items(values = nil)
  if values
    @authentication_items = values
  end
  @authentication_items
end