Class PerformanceMode
EFS Performance mode.
Inheritance
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.AWS.EFS.dll
Syntax (csharp)
public sealed class PerformanceMode : Enum
Syntax (vb)
Public NotInheritable Class PerformanceMode
Inherits
Enum
Remarks
See: https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes
ExampleMetadata: infused
Examples
var fileSystem = new FileSystem(this, "MyEfsFileSystem", new FileSystemProps {
Vpc = new Vpc(this, "VPC"),
LifecyclePolicy = LifecyclePolicy.AFTER_14_DAYS, // files are not transitioned to infrequent access (IA) storage by default
PerformanceMode = PerformanceMode.GENERAL_PURPOSE, // default
OutOfInfrequentAccessPolicy = OutOfInfrequentAccessPolicy.AFTER_1_ACCESS
});
Synopsis
Fields
GENERAL_PURPOSE | General Purpose is ideal for latency-sensitive use cases, like web serving environments, content management systems, home directories, and general file serving. |
MAX_IO | File systems in the Max I/O mode can scale to higher levels of aggregate throughput and operations per second. |
value__ |
Fields
GENERAL_PURPOSE
General Purpose is ideal for latency-sensitive use cases, like web serving environments, content management systems, home directories, and general file serving.
public const PerformanceMode GENERAL_PURPOSE
Field Value
Type | Description |
---|---|
PerformanceMode |
Remarks
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.
public const PerformanceMode MAX_IO
Field Value
Type | Description |
---|---|
PerformanceMode |
Remarks
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.
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |