Class: Aws::Backup::Types::UpdateBackupPlanInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

Note:

When making an API call, you may pass UpdateBackupPlanInput data as a hash:

{
  backup_plan_id: "string", # required
  backup_plan: { # required
    backup_plan_name: "BackupPlanName", # required
    rules: [ # required
      {
        rule_name: "BackupRuleName", # required
        target_backup_vault_name: "BackupVaultName", # required
        schedule_expression: "CronExpression",
        start_window_minutes: 1,
        completion_window_minutes: 1,
        lifecycle: {
          move_to_cold_storage_after_days: 1,
          delete_after_days: 1,
        },
        recovery_point_tags: {
          "TagKey" => "TagValue",
        },
        copy_actions: [
          {
            lifecycle: {
              move_to_cold_storage_after_days: 1,
              delete_after_days: 1,
            },
            destination_backup_vault_arn: "ARN", # required
          },
        ],
        enable_continuous_backup: false,
      },
    ],
    advanced_backup_settings: [
      {
        resource_type: "ResourceType",
        backup_options: {
          "BackupOptionKey" => "BackupOptionValue",
        },
      },
    ],
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#backup_planTypes::BackupPlanInput

Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.



6278
6279
6280
6281
6282
6283
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 6278

class UpdateBackupPlanInput < Struct.new(
  :backup_plan_id,
  :backup_plan)
  SENSITIVE = []
  include Aws::Structure
end

#backup_plan_idString

Uniquely identifies a backup plan.

Returns:

  • (String)


6278
6279
6280
6281
6282
6283
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 6278

class UpdateBackupPlanInput < Struct.new(
  :backup_plan_id,
  :backup_plan)
  SENSITIVE = []
  include Aws::Structure
end