Interface CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty.Jsii$Proxy
- Enclosing class:
CfnBackupPlan
@Stability(Stable)
public static interface CfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an object containing resource type and backup options.
This is only supported for Windows VSS backups.
Example:
// 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
static final class
An implementation forCfnBackupPlan.AdvancedBackupSettingResourceTypeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The backup option for the resource.The name of a resource type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBackupOptions
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 theWindowsVSS
backup option and create a Windows VSS backup.Set to
"WindowsVSS":"disabled"
to create a regular backup. TheWindowsVSS
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 .
-
getResourceType
The name of a resource type.The only supported resource type is EC2.
-
builder
-