Class BackupSelectionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.backup.BackupSelectionProps.Jsii$Proxy
All Implemented Interfaces:
BackupSelectionOptions, BackupSelectionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
BackupSelectionProps

@Stability(Stable) @Internal public static final class BackupSelectionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BackupSelectionProps
An implementation for BackupSelectionProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(BackupSelectionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the BackupSelectionProps.Builder.
  • Method Details

    • getBackupPlan

      public final IBackupPlan getBackupPlan()
      Description copied from interface: BackupSelectionProps
      The backup plan for this selection.
      Specified by:
      getBackupPlan in interface BackupSelectionProps
    • getResources

      public final List<BackupResource> getResources()
      Description copied from interface: BackupSelectionOptions
      The resources to backup.

      Use the helper static methods defined on BackupResource.

      Specified by:
      getResources in interface BackupSelectionOptions
    • getAllowRestores

      public final Boolean getAllowRestores()
      Description copied from interface: BackupSelectionOptions
      Whether to automatically give restores permissions to the role that AWS Backup uses.

      If true, the AWSBackupServiceRolePolicyForRestores managed policy will be attached to the role.

      Default: false

      Specified by:
      getAllowRestores in interface BackupSelectionOptions
    • getBackupSelectionName

      public final String getBackupSelectionName()
      Description copied from interface: BackupSelectionOptions
      The name for this selection.

      Default: - a CDK generated name

      Specified by:
      getBackupSelectionName in interface BackupSelectionOptions
    • getDisableDefaultBackupPolicy

      public final Boolean getDisableDefaultBackupPolicy()
      Description copied from interface: BackupSelectionOptions
      Whether to disable automatically assigning default backup permissions to the role that AWS Backup uses.

      If false, the AWSBackupServiceRolePolicyForBackup managed policy will be attached to the role.

      Default: false

      Specified by:
      getDisableDefaultBackupPolicy in interface BackupSelectionOptions
    • getRole

      public final IRole getRole()
      Description copied from interface: BackupSelectionOptions
      The role that AWS Backup uses to authenticate when backuping or restoring the resources.

      The AWSBackupServiceRolePolicyForBackup managed policy will be attached to this role unless disableDefaultBackupPolicy is set to true.

      Default: - a new role will be created

      Specified by:
      getRole in interface BackupSelectionOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object