VolumeAttachmentState class

Input properties used for looking up and filtering VolumeAttachment resources.

Constructors

VolumeAttachmentState({Input<String?>? deviceName, Input<bool?>? forceDetach, Input<String?>? instanceId, Input<String?>? region, Input<bool?>? skipDestroy, Input<bool?>? stopInstanceBeforeDetaching, Input<String?>? volumeId})
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
const
VolumeAttachmentState.fromMap(Map<String, dynamic> map)
factory

Properties

deviceName → Input<String?>?
The device name to expose to the instance (for example, /dev/sdh or xvdh). See Device Naming on Linux Instances and Device Naming on Windows Instances for more information.
final
forceDetach → Input<bool?>?
Set to true if you want to force the volume to detach. Useful if previous attempts failed, but use this option only as a last resort, as this can result in data loss. See Detaching an Amazon EBS Volume from an Instance for more information.
final
hashCode int
The hash code for this object.
no setterinherited
instanceId → Input<String?>?
ID of the Instance to attach to
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipDestroy → Input<bool?>?
Set this to true if you do not wish to detach the volume from the instance to which it is attached at destroy time, and instead just remove the attachment from this provider state. This is useful when destroying an instance which has volumes created by some other means attached.
final
stopInstanceBeforeDetaching → Input<bool?>?
Set this to true to ensure that the target instance is stopped before trying to detach the volume. Stops the instance, if it is not already stopped.
final
volumeId → Input<String?>?
ID of the Volume to be attached
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited