def download_artifact(resource, bucket, key='alppbBuilder/alppb.zip',
    local_path='alppb.zip'):
    """
    Fetches the artifact from Amazon S3 built by alppb .

    Parameters
    ----------
    resource : boto3.resources.factory.s3.ServiceResource
        A boto3 Resource interface for S3.
    bucket : str
        Name of the bucket the artifact exists in.
    key: str
        The S3 key of the artifact to download from the bucket. Defaults to
        "alppbBuilder/alppb.zip".
    local_path: str
        The local path where the artifact will be downloaded. Defaults to the
        current directory alppb is being run from.

    Returns
    -------
    """
    print('Downloading built package(s) to {}...'.format(local_path))
    resource.meta.client.download_file(bucket, key, local_path)
    print('Download complete...')
