  def __init__(self,
               snapshot_id: str,
               aws_account: 'account.AWSAccount',
               region: str,
               availability_zone: str,
               volume: AWSVolume,
               name: Optional[str] = None) -> None:
    """Initialize an AWS EBS snapshot.

    Args:
      snapshot_id (str): The id of the snapshot.
      aws_account (AWSAccount): The account for the snapshot.
      region (str): The region the snapshot is in.
      availability_zone (str): The zone within the region in which the snapshot
          is.
      volume (AWSVolume): The volume from which the snapshot was taken.
      name (str): Optional. The name tag of the snapshot, if existing.
    """

    super().__init__(aws_account,
                     region,
                     availability_zone,
                     volume.encrypted,
                     name)
    self.snapshot_id = snapshot_id
    self.volume = volume
Initialize an AWS EBS snapshot.

Args:
snapshot_id (str): The id of the snapshot.
aws_account (AWSAccount): The account for the snapshot.
region (str): The region the snapshot is in.
availability_zone (str): The zone within the region in which the snapshot
is.
volume (AWSVolume): The volume from which the snapshot was taken.
name (str): Optional. The name tag of the snapshot, if existing.
libcloudforensics/providers/aws/internal/ebs.py