Skip to content

Get Backup Plan From Json

backup_get_backup_plan_from_json R Documentation

Returns a valid JSON document specifying a backup plan or an error

Description

Returns a valid JSON document specifying a backup plan or an error.

Usage

backup_get_backup_plan_from_json(BackupPlanTemplateJson)

Arguments

BackupPlanTemplateJson

[required] A customer-supplied backup plan document in JSON format.

Value

A list with the following syntax:

list(
  BackupPlan = list(
    BackupPlanName = "string",
    Rules = list(
      list(
        RuleName = "string",
        TargetBackupVaultName = "string",
        ScheduleExpression = "string",
        StartWindowMinutes = 123,
        CompletionWindowMinutes = 123,
        Lifecycle = list(
          MoveToColdStorageAfterDays = 123,
          DeleteAfterDays = 123,
          OptInToArchiveForSupportedResources = TRUE|FALSE
        ),
        RecoveryPointTags = list(
          "string"
        ),
        RuleId = "string",
        CopyActions = list(
          list(
            Lifecycle = list(
              MoveToColdStorageAfterDays = 123,
              DeleteAfterDays = 123,
              OptInToArchiveForSupportedResources = TRUE|FALSE
            ),
            DestinationBackupVaultArn = "string"
          )
        ),
        EnableContinuousBackup = TRUE|FALSE,
        ScheduleExpressionTimezone = "string"
      )
    ),
    AdvancedBackupSettings = list(
      list(
        ResourceType = "string",
        BackupOptions = list(
          "string"
        )
      )
    )
  )
)

Request syntax

svc$get_backup_plan_from_json(
  BackupPlanTemplateJson = "string"
)