Skip to content

Updates the file system's backup policy

Description

Updates the file system's backup policy. Use this action to start or stop automatic backups of the file system.

Usage

efs_put_backup_policy(FileSystemId, BackupPolicy)

Arguments

  • FileSystemId

    [required] Specifies which EFS file system to update the backup policy for.

  • BackupPolicy

    [required] The backup policy included in the put_backup_policy request.

Value

A list with the following syntax:

list(
  BackupPolicy = list(
    Status = "ENABLED"|"ENABLING"|"DISABLED"|"DISABLING"
  )
)

Request syntax

svc$put_backup_policy(
  FileSystemId = "string",
  BackupPolicy = list(
    Status = "ENABLED"|"ENABLING"|"DISABLED"|"DISABLING"
  )
)