def amz_group_grant(uri, permission):
    """
    Returns XML Grant for group with URI.

    :param uri: group URI
    :param permission: permission value
    """
    grant = (
        '<Grant>'
        '<Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" '
        'xsi:type="Group">'
        '<URI>%s</URI>'
        '</Grantee>'
        '<Permission>%s</Permission>'
        '</Grant>' % (uri, permission))
    return grant