sdk/python/pulumi_aws/ec2/volume_attachment.py
def stop_instance_before_detaching(self) -> pulumi.Output[Optional[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.
        """
        return pulumi.get(self, "stop_instance_before_detaching")

        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.
        
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.
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 .
def stop_instance_before_detaching(self) -> pulumi.Output[Optional[bool]]:
        return pulumi.get(self, "stop_instance_before_detaching")
def stop_instance_before_detaching ( self ) -> pulumi . Output [ Optional [ bool ] ] : return pulumi . get ( self , "stop_instance_before_detaching" )
Set this to true to ensure that the target instance is stopped
before trying to detach the volume.
Set this to true to ensure that the target instance is stopped before trying to detach the volume .
"""
        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.
        """
self