@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.862Z") @Stability(value=Stable) public enum PerformanceMode extends Enum<PerformanceMode>
Example:
FileSystem fileSystem = FileSystem.Builder.create(this, "MyEfsFileSystem")
.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)
.build();
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static PerformanceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PerformanceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final PerformanceMode GENERAL_PURPOSE
Recommended for the majority of Amazon EFS file systems.
@Stability(value=Stable) public static final PerformanceMode MAX_IO
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.
public static PerformanceMode[] values()
for (PerformanceMode c : PerformanceMode.values()) System.out.println(c);
public static PerformanceMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.