Sha256: 5db12c36a4cb0b239521c9edc57f95866a41e9f710d1e5cb0853f2c15dedcc2c
Contents?: true
Size: 976 Bytes
Versions: 52
Compression:
Stored size: 976 Bytes
Contents
require_relative '../resource_property' module Convection module Model class Template class ResourceProperty # Represents an {https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings.html # EC2 Spot Fleet Request Config Data Launch Specifications Block Device Mapping Property Type} class EC2SpotFleetRequestConfigDataLaunchSpecificationsBlockDeviceMapping < ResourceProperty property :device_name, 'DeviceName' property :ebs, 'Ebs' property :no_device, 'NoDevice' property :virtual_name, 'VirtualName' def ebs(&block) config = ResourceProperty::EC2SpotFleetRequestConfigDataLaunchSpecificationsBlockDeviceMappingEbs.new(self) config.instance_exec(&block) if block properties['Ebs'].set(config) end end end end end end
Version data entries
52 entries across 52 versions & 1 rubygems