Skip to content

DetachVolumeInput

Source code in docs_src/capo_storage_gateway/types/detach_volume_input.py
class DetachVolumeInput(TypedDict, closed=True):
    volume_arn: "capo_storage_gateway.types.volume_arn.VolumeARN"
    """<p>The Amazon Resource Name (ARN) of the volume to detach from the gateway.</p>"""
    force_detach: NotRequired["capo_storage_gateway.types.boolean.Boolean"]
    """<p>Set to <code>true</code> to forcibly remove the iSCSI connection of the target volume and detach the volume. The default is <code>false</code>. If this value is set to <code>false</code>, you must manually disconnect the iSCSI connection from the target volume.</p> <p>Valid Values: <code>true</code> | <code>false</code> </p>"""

force_detach instance-attribute

force_detach: NotRequired[Boolean]

Set to true to forcibly remove the iSCSI connection of the target volume and detach the volume. The default is false. If this value is set to false, you must manually disconnect the iSCSI connection from the target volume.

Valid Values: true | false

volume_arn instance-attribute

volume_arn: VolumeARN

The Amazon Resource Name (ARN) of the volume to detach from the gateway.