def get_template_s3_url(bucket_name, resource_path):
    """
    Constructs S3 URL from bucket name and resource path.
    :param bucket_name: S3 bucket name
    :param prefix string: S3 path prefix
    :return string: S3 Url of cloudformation templates
    """
    return 'https://%s.s3.amazonaws.com/%s' % (bucket_name, resource_path)