DiskArgs

data class DiskArgs(val addOns: Output<List<DiskAddOnArgs>>? = null, val availabilityZone: Output<String>? = null, val diskName: Output<String>? = null, val location: Output<DiskLocationArgs>? = null, val sizeInGb: Output<Int>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<DiskArgs>

Resource Type definition for AWS::Lightsail::Disk

Constructors

Link copied to clipboard
constructor(addOns: Output<List<DiskAddOnArgs>>? = null, availabilityZone: Output<String>? = null, diskName: Output<String>? = null, location: Output<DiskLocationArgs>? = null, sizeInGb: Output<Int>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val addOns: Output<List<DiskAddOnArgs>>? = null

An array of objects representing the add-ons to enable for the new instance.

Link copied to clipboard
val availabilityZone: Output<String>? = null

The Availability Zone in which to create your instance. Use the following format: us-east-2a (case sensitive). Be sure to add the include Availability Zones parameter to your request.

Link copied to clipboard
val diskName: Output<String>? = null

The names to use for your new Lightsail disk.

Link copied to clipboard
val location: Output<DiskLocationArgs>? = null

The AWS Region and Availability Zone where the disk is located.

Link copied to clipboard
val sizeInGb: Output<Int>? = null

Size of the Lightsail disk

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Functions

Link copied to clipboard
open override fun toJava(): DiskArgs