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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFileSystem.DiskIopsConfigurationPropertystatic final classAn implementation forCfnFileSystem.DiskIopsConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default NumbergetIops()The total number of SSD IOPS provisioned for the file system.default StringgetMode()Specifies whether the file system is using theAUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using aUSER_PROVISIONEDvalue.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
HAPairsandStorageCapacity. 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
Iopsis outside of the minimum or maximum values.- See Also:
-
getMode
Specifies whether the file system is using theAUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using aUSER_PROVISIONEDvalue.- See Also:
-
builder
-