VolumeAttachmentState constructor
const
VolumeAttachmentState({})
Creates a new VolumeAttachmentState.
deviceName The device name to expose to the instance (for
forceDetach Set to true if you want to force the
instanceId ID of the Instance to attach to
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
skipDestroy Set this to true if you do not wish
stopInstanceBeforeDetaching Set this to true to ensure that the target instance is stopped
volumeId ID of the Volume to be attached
Implementation
const VolumeAttachmentState({
this.deviceName,
this.forceDetach,
this.instanceId,
this.region,
this.skipDestroy,
this.stopInstanceBeforeDetaching,
this.volumeId,
});