Class FileSystemProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class FileSystemProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FileSystemProps
An implementation for FileSystemProps
  • 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(FileSystemProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FileSystemProps.Builder.
  • Method Details

    • getVpc

      public final IVpc getVpc()
      Description copied from interface: FileSystemProps
      VPC to launch the file system in.
      Specified by:
      getVpc in interface FileSystemProps
    • getEnableAutomaticBackups

      public final Boolean getEnableAutomaticBackups()
      Description copied from interface: FileSystemProps
      Whether to enable automatic backups for the file system.

      Default: false

      Specified by:
      getEnableAutomaticBackups in interface FileSystemProps
    • getEncrypted

      public final Boolean getEncrypted()
      Description copied from interface: FileSystemProps
      Defines if the data at rest in the file system is encrypted or not.

      Default: - If your application has the '

      Specified by:
      getEncrypted in interface FileSystemProps
    • getFileSystemName

      public final String getFileSystemName()
      Description copied from interface: FileSystemProps
      The file system's name.

      Default: - CDK generated name

      Specified by:
      getFileSystemName in interface FileSystemProps
    • getKmsKey

      public final IKey getKmsKey()
      Description copied from interface: FileSystemProps
      The KMS key used for encryption.

      This is required to encrypt the data at rest if @encrypted is set to true.

      Default: - if 'encrypted' is true, the default key for EFS (/aws/elasticfilesystem) is used

      Specified by:
      getKmsKey in interface FileSystemProps
    • getLifecyclePolicy

      public final LifecyclePolicy getLifecyclePolicy()
      Description copied from interface: FileSystemProps
      A policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class.

      Default: - None. EFS will not transition files to the IA storage class.

      Specified by:
      getLifecyclePolicy in interface FileSystemProps
    • getOutOfInfrequentAccessPolicy

      public final OutOfInfrequentAccessPolicy getOutOfInfrequentAccessPolicy()
      Description copied from interface: FileSystemProps
      A policy used by EFS lifecycle management to transition files from Infrequent Access (IA) storage class to primary storage class.

      Default: - None. EFS will not transition files from IA storage to primary storage.

      Specified by:
      getOutOfInfrequentAccessPolicy in interface FileSystemProps
    • getPerformanceMode

      public final PerformanceMode getPerformanceMode()
      Description copied from interface: FileSystemProps
      The performance mode that the file system will operate under.

      An Amazon EFS file system's performance mode can't be changed after the file system has been created. Updating this property will replace the file system.

      Default: PerformanceMode.GENERAL_PURPOSE

      Specified by:
      getPerformanceMode in interface FileSystemProps
    • getProvisionedThroughputPerSecond

      public final Size getProvisionedThroughputPerSecond()
      Description copied from interface: FileSystemProps
      Provisioned throughput for the file system.

      This is a required property if the throughput mode is set to PROVISIONED. Must be at least 1MiB/s.

      Default: - none, errors out

      Specified by:
      getProvisionedThroughputPerSecond in interface FileSystemProps
    • getRemovalPolicy

      public final RemovalPolicy getRemovalPolicy()
      Description copied from interface: FileSystemProps
      The removal policy to apply to the file system.

      Default: RemovalPolicy.RETAIN

      Specified by:
      getRemovalPolicy in interface FileSystemProps
    • getSecurityGroup

      public final ISecurityGroup getSecurityGroup()
      Description copied from interface: FileSystemProps
      Security Group to assign to this file system.

      Default: - creates new security group which allows all outbound traffic

      Specified by:
      getSecurityGroup in interface FileSystemProps
    • getThroughputMode

      public final ThroughputMode getThroughputMode()
      Description copied from interface: FileSystemProps
      Enum to mention the throughput mode of the file system.

      Default: ThroughputMode.BURSTING

      Specified by:
      getThroughputMode in interface FileSystemProps
    • getVpcSubnets

      public final SubnetSelection getVpcSubnets()
      Description copied from interface: FileSystemProps
      Which subnets to place the mount target in the VPC.

      Default: - the Vpc default strategy if not specified

      Specified by:
      getVpcSubnets in interface FileSystemProps
    • $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