BackupConfig constructor
- Input<
bool> ? allNamespaces, - Input<
EncryptionKey> ? encryptionKey, - Input<
bool> ? includeSecrets, - Input<
bool> ? includeVolumeData, - Input<
NamespacedNames> ? selectedApplications, - Input<
Namespaces> ? selectedNamespaces,
Creates a new BackupConfig.
allNamespaces If True, include all namespaced resources
encryptionKey Optional. This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
includeSecrets Optional. This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
includeVolumeData Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
selectedApplications If set, include just the resources referenced by the listed ProtectedApplications.
selectedNamespaces If set, include just the resources in the listed namespaces.
Implementation
const BackupConfig({
this.allNamespaces,
this.encryptionKey,
this.includeSecrets,
this.includeVolumeData,
this.selectedApplications,
this.selectedNamespaces,
});