@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.207Z") @Stability(value=Experimental) public interface BackupSelectionOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BackupSelectionOptions.Builder
A builder for
BackupSelectionOptions |
static class |
BackupSelectionOptions.Jsii$Proxy
An implementation for
BackupSelectionOptions |
| Modifier and Type | Method and Description |
|---|---|
static BackupSelectionOptions.Builder |
builder() |
default Boolean |
getAllowRestores()
(experimental) Whether to automatically give restores permissions to the role that AWS Backup uses.
|
default String |
getBackupSelectionName()
(experimental) The name for this selection.
|
List<BackupResource> |
getResources()
(experimental) The resources to backup.
|
default IRole |
getRole()
(experimental) The role that AWS Backup uses to authenticate when backuping or restoring the resources.
|
@Stability(value=Experimental) @NotNull List<BackupResource> getResources()
Use the helper static methods defined on BackupResource.
@Stability(value=Experimental) @Nullable default Boolean getAllowRestores()
If true, the AWSBackupServiceRolePolicyForRestores managed
policy will be attached to the role.
Default: false
@Stability(value=Experimental) @Nullable default String getBackupSelectionName()
Default: - a CDK generated name
@Stability(value=Experimental) @Nullable default IRole getRole()
The AWSBackupServiceRolePolicyForBackup managed policy
will be attached to this role.
Default: - a new role will be created
@Stability(value=Experimental) static BackupSelectionOptions.Builder builder()
BackupSelectionOptions.Builder of BackupSelectionOptionsCopyright © 2021. All rights reserved.