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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBackupPlan.AdvancedBackupSettingResourceTypePropertystatic final classAn 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 theWindowsVSSbackup option and create a Windows VSS backup.Set to
"WindowsVSS":"disabled"to create a regular backup. TheWindowsVSSoption is not enabled by default.If you specify an invalid option, you get an
InvalidParameterValueExceptionexception.For more information about Windows VSS backups, see Creating a VSS-Enabled Windows Backup .
- See Also:
-
getResourceType
The name of a resource type.The only supported resource type is EC2.
- See Also:
-
builder
-