createDisk

inline suspend fun LightsailClient.createDisk(crossinline block: CreateDiskRequest.Builder.() -> Unit): CreateDiskResponse

Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a).

The create disk operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.