Sha256: d20bb91a309207721cd5acf52c8182b7f953de175fae452ce9a0626507630458
Contents?: true
Size: 798 Bytes
Versions: 41
Compression:
Stored size: 798 Bytes
Contents
require_relative '../resource_property' module Convection module Model class Template class ResourceProperty # Represents an {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html # EC2 Block Device Mapping Property Type} class EC2BlockDeviceMapping < ResourceProperty property :device_name, 'DeviceName' alias device device_name property :ebs, 'Ebs' property :no_device, 'NoDevice' property :virtual_name, 'VirtualName' def ebs(&block) ebs = ResourceProperty::EC2BlockStoreBlockDevice.new(self) ebs.instance_exec(&block) if block properties['Ebs'].set(config) end end end end end end
Version data entries
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
convection-0.2.16 | lib/convection/model/template/resource_property/aws_ec2_block_device_mapping.rb |