class Convection::Model::Template::ResourceProperty::EC2BlockDeviceMapping

Represents an {docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html EC2 Block Device Mapping Property Type}

Public Instance Methods

ebs(&block) click to toggle source
# File lib/convection/model/template/resource_property/aws_ec2_block_device_mapping.rb, line 16
def ebs(&block)
  ebs = ResourceProperty::EC2BlockStoreBlockDevice.new(self)
  ebs.instance_exec(&block) if block
  properties['Ebs'].set(ebs)
end