put_backup_vault_access_policy

Backup.Client.put_backup_vault_access_policy(**kwargs)

Sets a resource-based policy that is used to manage access permissions on the target backup vault. Requires a backup vault name and an access policy document in JSON format.

See also: AWS API Documentation

Request Syntax

response = client.put_backup_vault_access_policy(
    BackupVaultName='string',
    Policy='string'
)
Parameters
  • BackupVaultName (string) --

    [REQUIRED]

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

  • Policy (string) -- The backup vault access policy document in JSON format.
Returns

None

Exceptions

  • Backup.Client.exceptions.ResourceNotFoundException
  • Backup.Client.exceptions.InvalidParameterValueException
  • Backup.Client.exceptions.MissingParameterValueException
  • Backup.Client.exceptions.ServiceUnavailableException