Sha256: 90e8857272e2281e09d44b33873e8eb4be2a0ce4ddfe7fc5e97a5f84acc0f081

Contents?: true

Size: 736 Bytes

Versions: 6

Compression:

Stored size: 736 Bytes

Contents

# frozen_string_literal: true

require 'cfndsl/jsonable'

module CfnDsl
  # Handles mapping objects
  #
  # Usage:
  #     Mapping("AWSRegionArch2AMI", {
  #               "us-east-1" => { "32" => "ami-6411e20d", "64" => "ami-7a11e213" },
  #               "us-west-1" => { "32" => "ami-c9c7978c", "64" => "ami-cfc7978a" },
  #               "eu-west-1" => { "32" => "ami-37c2f643", "64" => "ami-31c2f645" },
  #               "ap-southeast-1" => { "32" => "ami-66f28c34", "64" => "ami-60f28c32" },
  #               "ap-northeast-1" => { "32" => "ami-9c03a89d", "64" => "ami-a003a8a1" }
  #    })
  class MappingDefinition < JSONable
    include JSONSerialisableObject

    def initialize(value)
      @value = value
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cfndsl-0.17.5 lib/cfndsl/mappings.rb
cfndsl-0.17.4 lib/cfndsl/mappings.rb
cfndsl-0.17.3 lib/cfndsl/mappings.rb
cfndsl-0.17.2 lib/cfndsl/mappings.rb
cfndsl-0.17.1 lib/cfndsl/mappings.rb
cfndsl-0.17.0 lib/cfndsl/mappings.rb