AdvancedBackupSettingResourceTypeProperty Struct
Specifies an object containing resource type and backup options.
This is only supported for Windows VSS backups.
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',
};
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
// 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();
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"
};
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
backupOptionsanybackup_optionsAnybackupOptionsObjectBackupOptionsobjectBackupOptionsinterface{}required#The backup option for the resource.
notes
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 .
The name of a resource type.
The only supported resource type is EC2.