Fugue.AWS.EC2.EbsInstanceBlockDevice

This is the preferred interface for making EBS Instance Block Device resources with Fugue. If you want to manage an EBS Instance Block Device with Fugue, the new function is the right place to start.

Module Members

new

(Function)

new EBS Instance Block Device (Constructor)

Call this constructor to create a new Fugue.Core.AWS.EC2.EbsInstanceBlockDevice value.

Type Signature

 fun (Spec) -> EbsInstanceBlockDevice
Argument: spec

A EBS Instance Block Device specification record.

Type: Spec

Returns:

A Fugue.Core.AWS.EC2.EbsInstanceBlockDevice value.

Type: EbsInstanceBlockDevice

Spec

(Type)

type Spec:
  volume: Volume
  deleteOnTermination: Optional<Bool>

EBS Instance Block Device (Resource)

Record {

Field: volume

An EBS volume to associate with this device.

Type: Volume

Field: deleteOnTermination

Whether to delete the volume on instance termination.

Type: Optional<Bool>

}

default

(Value)

default:
  deleteOnTermination: Optional(False)

EBS Instance Block Device (Default Values)