This is the preferred interface for making EC2 RootBlockDevice properties with Fugue. If you want to specify an EC2 RootBlockDevice with Fugue, the new function is the right place to start.

Table of Contents

Module Members



new EC2 RootBlockDevice (Constructor)

Call this constructor to create a new Fugue.Core.AWS.EC2.RootBlockDevice value. This constructor should be used when specifying the properties of the root block device for the instance.

Type Signature

 fun { finalSnapshotPrefix: Optional<String>,
       iops: Optional<Int>,
       tags: Optional<List<Tag>>,
       volumeType: Optional<VolumeType>,
       volumeSize: Optional<Int> } -> RootBlockDevice
Argument: finalSnapshotPrefix

The prefix of the name of the snapshot taken before deleting the volume. If this field is set, a snapshot with the name -. is created with the latest contents of the volume. Mutable.

Type: Optional<String>

Argument: iops

The IOPs to provision for the volume. If the volume is of the Provisioned IOPs type, this is required. Mutable.

Type: Optional<Int>

Argument: tags

AWS tags to apply to the instance. Mutable.

Type: Optional<List<Tag>>

Argument: volumeType

The type of volume, such as General Purpose or Provisioned IOPs.

Type: Optional<VolumeType>

Argument: volumeSize
Type: Optional<Int>
Type: RootBlockDevice