attachDisk
inline suspend fun LightsailClient.attachDisk(crossinline block: AttachDiskRequest.Builder.() -> Unit): AttachDiskResponse
Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
The attach disk
operation supports tag-based access control via resource tags applied to the resource identified by disk name
. For more information, see the Amazon Lightsail Developer Guide.