# AdvancedBackupSettingResourceTypeProperty

Specifies an object containing resource type and backup options.

This is only supported for Windows VSS backups.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_backup as backup

# backup_options: Any

advanced_backup_setting_resource_type_property = backup.CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty(
    backup_options=backup_options,
    resource_type="resourceType"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;

Object backupOptions;

AdvancedBackupSettingResourceTypeProperty advancedBackupSettingResourceTypeProperty = AdvancedBackupSettingResourceTypeProperty.builder()
        .backupOptions(backupOptions)
        .resourceType("resourceType")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Backup;

var backupOptions;

var advancedBackupSettingResourceTypeProperty = new AdvancedBackupSettingResourceTypeProperty {
    BackupOptions = backupOptions,
    ResourceType = "resourceType"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var backupOptions interface{}

advancedBackupSettingResourceTypeProperty := &AdvancedBackupSettingResourceTypeProperty{
	BackupOptions: backupOptions,
	ResourceType: jsii.String("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.
