Interface CfnFileSystem.DiskIopsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFileSystem.DiskIopsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFileSystem
@Stability(Stable)
public static interface CfnFileSystem.DiskIopsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP, Amazon FSx for Windows File Server, or FSx for OpenZFS file system.
By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx).
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.fsx.*; DiskIopsConfigurationProperty diskIopsConfigurationProperty = DiskIopsConfigurationProperty.builder() .iops(123) .mode("mode") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFileSystem.DiskIopsConfigurationProperty
static final class
An implementation forCfnFileSystem.DiskIopsConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
getIops()
The total number of SSD IOPS provisioned for the file system.default String
getMode()
Specifies whether the file system is using theAUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using aUSER_PROVISIONED
value.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIops
The total number of SSD IOPS provisioned for the file system.The minimum and maximum values for this property depend on the value of
HAPairs
andStorageCapacity
. The minimum value is calculated asStorageCapacity
* 3 *HAPairs
(3 IOPS per GB ofStorageCapacity
). The maximum value is calculated as 200,000 *HAPairs
.Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of
Iops
is outside of the minimum or maximum values.- See Also:
-
getMode
Specifies whether the file system is using theAUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using aUSER_PROVISIONED
value.- See Also:
-
builder
-