  def PrepareStartAnalysisVmCmd(
      vm_name: str,
      zone: str,
      attach_volumes: Optional[List[str]] = None) -> str:
    """Wrapper around the CLI tool to start an analysis VM.

    Args:
      vm_name (str): The name of the instance to start.
      zone (str): The zone in which to start the instance.
      attach_volumes (List[str]): Optional. List of volume names to attach to
          the VM.

    Returns:
      str: The CLI command to run.
    """
    cmd = 'cloudforensics aws {0:s} startvm {1:s}'.format(  # pylint: disable=line-too-long
        zone, vm_name)
    if attach_volumes:
      cmd += ' --attach_volumes={0:s}'.format(','.join(attach_volumes))
    logger.info('CLI command: {0:s}'.format(cmd))
    return cmd
Wrapper around the CLI tool to start an analysis VM.

Args:
vm_name (str): The name of the instance to start.
zone (str): The zone in which to start the instance.
attach_volumes (List[str]): Optional. List of volume names to attach to
the VM.

Returns:
str: The CLI command to run.
tests/providers/aws/aws_cli.py