AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::Backup::Types::AdvancedBackupSetting

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 AdvancedBackupSetting data as a hash:

{
  resource_type: "ResourceType",
  backup_options: {
    "BackupOptionKey" => "BackupOptionValue",
  },
}

A list of backup options for each resource type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#backup_optionsHash<String,String>

Specifies the backup option for a selected resource. This option is only available for Windows VSS backup jobs.

Valid values:

Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option and create a VSS Windows backup.

Set to "WindowsVSS":"disabled" to create a regular backup. The WindowsVSS option is not enabled by default.

If you specify an invalid option, you get an InvalidParameterValueException exception.

For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup.

Returns:

  • (Hash<String,String>)


63
64
65
66
67
68
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 63

class AdvancedBackupSetting < Struct.new(
  :resource_type,
  :backup_options)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

Specifies an object containing resource type and backup options. The only supported resource type is Amazon EC2 instances with Windows VSS. For an CloudFormation example, see the sample CloudFormation template to enable Windows VSS in the AWS Backup User Guide.

Valid values: EC2.

Returns:

  • (String)


63
64
65
66
67
68
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 63

class AdvancedBackupSetting < Struct.new(
  :resource_type,
  :backup_options)
  SENSITIVE = []
  include Aws::Structure
end