PerformanceMode
- class aws_cdk.aws_efs.PerformanceMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
EFS Performance mode.
- See:
https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes
- ExampleMetadata:
infused
Example:
file_system = efs.FileSystem(self, "MyEfsFileSystem", vpc=ec2.Vpc(self, "VPC"), lifecycle_policy=efs.LifecyclePolicy.AFTER_14_DAYS, # files are not transitioned to infrequent access (IA) storage by default performance_mode=efs.PerformanceMode.GENERAL_PURPOSE, # default out_of_infrequent_access_policy=efs.OutOfInfrequentAccessPolicy.AFTER_1_ACCESS, # files are not transitioned back from (infrequent access) IA to primary storage by default transition_to_archive_policy=efs.LifecyclePolicy.AFTER_14_DAYS, # files are not transitioned to Archive by default replication_overwrite_protection=efs.ReplicationOverwriteProtection.ENABLED )
Attributes
- GENERAL_PURPOSE
General Purpose is ideal for latency-sensitive use cases, like web serving environments, content management systems, home directories, and general file serving.
Recommended for the majority of Amazon EFS file systems.
- MAX_IO
File systems in the Max I/O mode can scale to higher levels of aggregate throughput and operations per second.
This scaling is done with a tradeoff of slightly higher latencies for file metadata operations. Highly parallelized applications and workloads, such as big data analysis, media processing, and genomics analysis, can benefit from this mode.