Skip to content
v2.275.0

PerformanceMode Enum ​

EFS Performance mode.

Example ​

ts
const fileSystem = new efs.FileSystem(this, 'MyEfsFileSystem', {
  vpc: new ec2.Vpc(this, 'VPC'),
  lifecyclePolicy: efs.LifecyclePolicy.AFTER_14_DAYS, // files are not transitioned to infrequent access (IA) storage by default
  performanceMode: efs.PerformanceMode.GENERAL_PURPOSE, // default
  outOfInfrequentAccessPolicy: efs.OutOfInfrequentAccessPolicy.AFTER_1_ACCESS, // files are not transitioned back from (infrequent access) IA to primary storage by default
  transitionToArchivePolicy: efs.LifecyclePolicy.AFTER_14_DAYS, // files are not transitioned to Archive by default
  replicationOverwriteProtection: efs.ReplicationOverwriteProtection.ENABLED, // Set to `DISABLED` if you want to create a read-only file system for use as a replication destination
});

Members ​

MemberDescription
GENERAL_PURPOSEGeneral Purpose is ideal for latency-sensitive use cases, like web serving environments, content management systems, home directories, and general file serving.
MAX_IOFile systems in the Max I/O mode can scale to higher levels of aggregate throughput and operations per second.

Referenced by ​

  • FileSystemProps.performanceModeperformance_modeperformanceModePerformanceModePerformanceMode