# AdvancedBackupSettingResourceTypeProperty

Specifies an object containing resource type and backup options.

This is only supported for Windows VSS backups.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';

declare const backupOptions: any;
const advancedBackupSettingResourceTypeProperty: backup.CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty = {
  backupOptions: backupOptions,
  resourceType: 'resourceType',
};
```

## Properties

- `backupOptions`: any (required) — The backup option for the resource.

  Each option is a key-value pair. 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 Windows VSS 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](https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html) .

- `resourceType`: string (required) — The name of a resource type.

  The only supported resource type is EC2.
