@Stability(value=Stable) public static final class CfnFileSystemProps.Builder extends Object implements software.amazon.jsii.Builder<CfnFileSystemProps>
CfnFileSystemProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnFileSystemProps.Builder fileSystemType(String fileSystemType)
CfnFileSystemProps.getFileSystemType()fileSystemType - The type of Amazon FSx file system, which can be `LUSTRE` , `WINDOWS` , `ONTAP` , or `OPENZFS` . This parameter is required.this@Stability(value=Stable) public CfnFileSystemProps.Builder subnetIds(List<String> subnetIds)
CfnFileSystemProps.getSubnetIds()subnetIds - Specifies the IDs of the subnets that the file system will be accessible from. This parameter is required.
For Windows and ONTAP MULTI_AZ_1 deployment types,provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using the WindowsConfiguration > PreferredSubnetID or OntapConfiguration > PreferredSubnetID properties. For more information about Multi-AZ file system configuration, see Availability and durability: Single-AZ and Multi-AZ file systems in the Amazon FSx for Windows User Guide and Availability and durability in the Amazon FSx for ONTAP User Guide .
For Windows SINGLE_AZ_1 and SINGLE_AZ_2 and all Lustre deployment types, provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.
this@Stability(value=Stable) public CfnFileSystemProps.Builder backupId(String backupId)
CfnFileSystemProps.getBackupId()backupId - The ID of the file system backup that you are using to create a file system.
For more information, see CreateFileSystemFromBackup .this@Stability(value=Stable) public CfnFileSystemProps.Builder fileSystemTypeVersion(String fileSystemTypeVersion)
CfnFileSystemProps.getFileSystemTypeVersion()fileSystemTypeVersion - (Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating.
Valid values are 2.10 and 2.12 :
2.12 is required when setting FSx for Lustre DeploymentType to PERSISTENT_2 .
Default value = 2.10 , except when DeploymentType is set to PERSISTENT_2 , then the default is 2.12 .
If you set
FileSystemTypeVersionto2.10for aPERSISTENT_2Lustre deployment type, theCreateFileSystemoperation fails.
this@Stability(value=Stable) public CfnFileSystemProps.Builder kmsKeyId(String kmsKeyId)
CfnFileSystemProps.getKmsKeyId()kmsKeyId - The ID of the AWS Key Management Service ( AWS KMS ) key used to encrypt Amazon FSx file system data.
Used as follows with Amazon FSx file system types:
PERSISTENT_1 and PERSISTENT_2 deployment types only.
SCRATCH_1 and SCRATCH_2 types are encrypted using the Amazon FSx service AWS KMS key for your account.
this@Stability(value=Stable) public CfnFileSystemProps.Builder lustreConfiguration(CfnFileSystem.LustreConfigurationProperty lustreConfiguration)
CfnFileSystemProps.getLustreConfiguration()lustreConfiguration - The Lustre configuration for the file system being created.
The following parameters are not supported for file systems with the Lustre
Persistent_2deployment type.
AutoImportPolicyExportPathImportedChunkSizeImportPath
this@Stability(value=Stable) public CfnFileSystemProps.Builder lustreConfiguration(IResolvable lustreConfiguration)
CfnFileSystemProps.getLustreConfiguration()lustreConfiguration - The Lustre configuration for the file system being created.
The following parameters are not supported for file systems with the Lustre
Persistent_2deployment type.
AutoImportPolicyExportPathImportedChunkSizeImportPath
this@Stability(value=Stable) public CfnFileSystemProps.Builder ontapConfiguration(CfnFileSystem.OntapConfigurationProperty ontapConfiguration)
CfnFileSystemProps.getOntapConfiguration()ontapConfiguration - The ONTAP configuration properties of the FSx for ONTAP file system that you are creating.this@Stability(value=Stable) public CfnFileSystemProps.Builder ontapConfiguration(IResolvable ontapConfiguration)
CfnFileSystemProps.getOntapConfiguration()ontapConfiguration - The ONTAP configuration properties of the FSx for ONTAP file system that you are creating.this@Stability(value=Stable) public CfnFileSystemProps.Builder openZfsConfiguration(CfnFileSystem.OpenZFSConfigurationProperty openZfsConfiguration)
CfnFileSystemProps.getOpenZfsConfiguration()openZfsConfiguration - The Amazon FSx for OpenZFS configuration properties for the file system that you are creating.this@Stability(value=Stable) public CfnFileSystemProps.Builder openZfsConfiguration(IResolvable openZfsConfiguration)
CfnFileSystemProps.getOpenZfsConfiguration()openZfsConfiguration - The Amazon FSx for OpenZFS configuration properties for the file system that you are creating.this@Stability(value=Stable) public CfnFileSystemProps.Builder securityGroupIds(List<String> securityGroupIds)
CfnFileSystemProps.getSecurityGroupIds()securityGroupIds - A list of IDs specifying the security groups to apply to all network interfaces created for file system access.
This list isn't returned in later requests to describe the file system.this@Stability(value=Stable) public CfnFileSystemProps.Builder storageCapacity(Number storageCapacity)
CfnFileSystemProps.getStorageCapacity()storageCapacity - Sets the storage capacity of the file system that you're creating.
StorageCapacity is required if you are creating a new file system. Do not include StorageCapacity if you are creating a file system from a backup.
FSx for Lustre file systems - The amount of storage capacity that you can configure depends on the value that you set for StorageType and the Lustre DeploymentType , as follows:
SCRATCH_2 , PERSISTENT_2 and PERSISTENT_1 deployment types using SSD storage type, the valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.PERSISTENT_1 HDD file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems.SCRATCH_1 deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB.FSx for ONTAP file systems - The amount of storage capacity that you can configure is from 1024 GiB up to 196,608 GiB (192 TiB).
FSx for OpenZFS file systems - The amount of storage capacity that you can configure is from 64 GiB up to 524,288 GiB (512 TiB).
FSx for Windows File Server file systems - The amount of storage capacity that you can configure depends on the value that you set for StorageType as follows:
this@Stability(value=Stable) public CfnFileSystemProps.Builder storageType(String storageType)
CfnFileSystemProps.getStorageType()storageType - Sets the storage type for the file system that you're creating. Valid values are `SSD` and `HDD` .
SSD to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types.HDD to use hard disk drive storage. HDD is supported on SINGLE_AZ_2 and MULTI_AZ_1 Windows file system deployment types, and on PERSISTENT_1 Lustre file system deployment types.
Default value is SSD . For more information, see Storage type options in the FSx for Windows File Server User Guide and Multiple storage options in the FSx for Lustre User Guide .
this@Stability(value=Stable) public CfnFileSystemProps.Builder tags(List<? extends CfnTag> tags)
CfnFileSystemProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnFileSystemProps.Builder windowsConfiguration(CfnFileSystem.WindowsConfigurationProperty windowsConfiguration)
CfnFileSystemProps.getWindowsConfiguration()windowsConfiguration - The configuration object for the Microsoft Windows file system you are creating.
This value is required if FileSystemType is set to WINDOWS .this@Stability(value=Stable) public CfnFileSystemProps.Builder windowsConfiguration(IResolvable windowsConfiguration)
CfnFileSystemProps.getWindowsConfiguration()windowsConfiguration - The configuration object for the Microsoft Windows file system you are creating.
This value is required if FileSystemType is set to WINDOWS .this@Stability(value=Stable) public CfnFileSystemProps build()
build in interface software.amazon.jsii.Builder<CfnFileSystemProps>CfnFileSystemPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.