@Stability(value=Stable) public static final class CfnFileSystem.Builder extends Object implements software.amazon.jsii.Builder<CfnFileSystem>
CfnFileSystem.| Modifier and Type | Method and Description |
|---|---|
CfnFileSystem.Builder |
backupId(String backupId)
The ID of the source backup.
|
CfnFileSystem |
build() |
static CfnFileSystem.Builder |
create(Construct scope,
String id) |
CfnFileSystem.Builder |
fileSystemType(String fileSystemType)
The type of Amazon FSx file system, which can be `LUSTRE` , `WINDOWS` , `ONTAP` , or `OPENZFS` .
|
CfnFileSystem.Builder |
fileSystemTypeVersion(String fileSystemTypeVersion)
(Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating.
|
CfnFileSystem.Builder |
kmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service ( AWS KMS ) key used to encrypt the file system's data for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and `PERSISTENT` Amazon FSx for Lustre file systems at rest.
|
CfnFileSystem.Builder |
lustreConfiguration(CfnFileSystem.LustreConfigurationProperty lustreConfiguration)
The Lustre configuration for the file system being created.
|
CfnFileSystem.Builder |
lustreConfiguration(IResolvable lustreConfiguration)
The Lustre configuration for the file system being created.
|
CfnFileSystem.Builder |
ontapConfiguration(CfnFileSystem.OntapConfigurationProperty ontapConfiguration)
The ONTAP configuration properties of the FSx for ONTAP file system that you are creating.
|
CfnFileSystem.Builder |
ontapConfiguration(IResolvable ontapConfiguration)
The ONTAP configuration properties of the FSx for ONTAP file system that you are creating.
|
CfnFileSystem.Builder |
openZfsConfiguration(CfnFileSystem.OpenZFSConfigurationProperty openZfsConfiguration)
The OpenZFS configuration properties for the file system that you are creating.
|
CfnFileSystem.Builder |
openZfsConfiguration(IResolvable openZfsConfiguration)
The OpenZFS configuration properties for the file system that you are creating.
|
CfnFileSystem.Builder |
securityGroupIds(List<String> securityGroupIds)
A list of IDs specifying the security groups to apply to all network interfaces created for file system access.
|
CfnFileSystem.Builder |
storageCapacity(Number storageCapacity)
Sets the storage capacity of the file system that you're creating.
|
CfnFileSystem.Builder |
storageType(String storageType)
Sets the storage type for the file system that you're creating.
|
CfnFileSystem.Builder |
subnetIds(List<String> subnetIds)
Specifies the IDs of the subnets that the file system will be accessible from.
|
CfnFileSystem.Builder |
tags(List<? extends CfnTag> tags)
The tags to associate with the file system.
|
CfnFileSystem.Builder |
windowsConfiguration(CfnFileSystem.WindowsConfigurationProperty windowsConfiguration)
The configuration object for the Microsoft Windows file system you are creating.
|
CfnFileSystem.Builder |
windowsConfiguration(IResolvable windowsConfiguration)
The configuration object for the Microsoft Windows file system you are creating.
|
@Stability(value=Stable) public static CfnFileSystem.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnFileSystem.AuditLogConfigurationProperty.Builder.@Stability(value=Stable) public CfnFileSystem.Builder fileSystemType(String fileSystemType)
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 CfnFileSystem.Builder subnetIds(List<String> subnetIds)
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.
subnetIds - Specifies the IDs of the subnets that the file system will be accessible from. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder backupId(String backupId)
Specifies the backup that you are copying.
backupId - The ID of the source backup. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder fileSystemTypeVersion(String fileSystemTypeVersion)
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.
fileSystemTypeVersion - (Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder kmsKeyId(String kmsKeyId)
If this ID isn't specified, the Amazon FSx-managed key for your account is used. The scratch Amazon FSx for Lustre file systems are always encrypted at rest using the Amazon FSx-managed key for your account. For more information, see Encrypt in the AWS Key Management Service API Reference .
kmsKeyId - The ID of the AWS Key Management Service ( AWS KMS ) key used to encrypt the file system's data for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and `PERSISTENT` Amazon FSx for Lustre file systems at rest. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder lustreConfiguration(CfnFileSystem.LustreConfigurationProperty lustreConfiguration)
The following parameters are not supported for file systems with the
Persistent_2deployment type. Instead, useCreateDataRepositoryAssociationto create a data repository association to link your Lustre file system to a data repository.
AutoImportPolicyExportPathImportedChunkSizeImportPath
lustreConfiguration - The Lustre configuration for the file system being created. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder lustreConfiguration(IResolvable lustreConfiguration)
The following parameters are not supported for file systems with the
Persistent_2deployment type. Instead, useCreateDataRepositoryAssociationto create a data repository association to link your Lustre file system to a data repository.
AutoImportPolicyExportPathImportedChunkSizeImportPath
lustreConfiguration - The Lustre configuration for the file system being created. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder ontapConfiguration(CfnFileSystem.OntapConfigurationProperty ontapConfiguration)
ontapConfiguration - The ONTAP configuration properties of the FSx for ONTAP file system that you are creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder ontapConfiguration(IResolvable ontapConfiguration)
ontapConfiguration - The ONTAP configuration properties of the FSx for ONTAP file system that you are creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder openZfsConfiguration(CfnFileSystem.OpenZFSConfigurationProperty openZfsConfiguration)
openZfsConfiguration - The OpenZFS configuration properties for the file system that you are creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder openZfsConfiguration(IResolvable openZfsConfiguration)
openZfsConfiguration - The OpenZFS configuration properties for the file system that you are creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder securityGroupIds(List<String> securityGroupIds)
This list isn't returned in later requests to describe the file system.
securityGroupIds - A list of IDs specifying the security groups to apply to all network interfaces created for file system access. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder storageCapacity(Number storageCapacity)
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.
For Lustre file systems:
storageCapacity - Sets the storage capacity of the file system that you're creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder storageType(String storageType)
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 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 .
storageType - Sets the storage type for the file system that you're creating. Valid values are `SSD` and `HDD` . This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder tags(List<? extends CfnTag> tags)
For more information, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide .
tags - The tags to associate with the file system. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder windowsConfiguration(CfnFileSystem.WindowsConfigurationProperty windowsConfiguration)
This value is required if FileSystemType is set to WINDOWS .
windowsConfiguration - The configuration object for the Microsoft Windows file system you are creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem.Builder windowsConfiguration(IResolvable windowsConfiguration)
This value is required if FileSystemType is set to WINDOWS .
windowsConfiguration - The configuration object for the Microsoft Windows file system you are creating. This parameter is required.this@Stability(value=Stable) public CfnFileSystem build()
build in interface software.amazon.jsii.Builder<CfnFileSystem>Copyright © 2022. All rights reserved.