Sha256: b498bee12c7e3413effd683ebd41c68276d5f65aa599f4e1944f5d30d8d178d0
Contents?: true
Size: 763 Bytes
Versions: 52
Compression:
Stored size: 763 Bytes
Contents
require 'cfndsl/JSONable' module CfnDsl class MappingDefinition < JSONable ## # 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" } # }) def initialize(value) @value = value end def to_json(*a) @value.to_json(*a) end end end
Version data entries
52 entries across 52 versions & 1 rubygems