FileSystemArgs class
The set of arguments for FileSystem. The set of arguments for FileSystem.
Constructors
-
FileSystemArgs({Input<
String?> ? availabilityZoneName, Input<String?> ? creationToken, Input<bool?> ? encrypted, Input<String?> ? kmsKeyId, Input<List< ? lifecyclePolicies, Input<FileSystemLifecyclePolicy> ?>String?> ? performanceMode, Input<FileSystemProtection?> ? protection, Input<double?> ? provisionedThroughputInMibps, Input<String?> ? region, Input<Map< ? tags, Input<String, String> ?>String?> ? throughputMode}) -
Creates a new FileSystemArgs.
availabilityZoneNamethe AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See user guide for more information.creationTokenA unique name (a maximum of 64 characters are allowed)encryptedIf true, the disk will be encrypted.kmsKeyIdThe ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.lifecyclePoliciesA file system lifecycle policy object. SeelifecyclePolicyblock below for details.performanceModeThe file system performance mode. Can be either"generalPurpose"or"maxIO"(Default:"generalPurpose").protectionA file system protection object. Seeprotectionblock below for details.provisionedThroughputInMibpsThe throughput, measured in MiB/s, that you want to provision for the file system. Only applicable withthroughputModeset toprovisioned.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA map of tags to assign to the file system. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.throughputModeThroughput mode for the file system. Defaults tobursting, matching theCreateFileSystemAPI default. Note that AWS recommendselasticfor most use cases, andelasticis the default in the Amazon EFS console. Valid values:bursting,provisioned, orelastic. When usingprovisioned, also setprovisionedThroughputInMibps.const -
FileSystemArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
availabilityZoneName
→ Input<
String?> ? -
the AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See user guide for more information.
final
-
creationToken
→ Input<
String?> ? -
A unique name (a maximum of 64 characters are allowed)
used as reference when creating the Elastic File System to ensure idempotent file
system creation. By default generated by this provider. See
Elastic File Systemuser guide for more information.final -
encrypted
→ Input<
bool?> ? -
If true, the disk will be encrypted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyId
→ Input<
String?> ? -
The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.
final
-
lifecyclePolicies
→ Input<
List< ?FileSystemLifecyclePolicy> ?> -
A file system lifecycle policy object. See
lifecyclePolicyblock below for details.final -
performanceMode
→ Input<
String?> ? -
The file system performance mode. Can be either
"generalPurpose"or"maxIO"(Default:"generalPurpose").final -
protection
→ Input<
FileSystemProtection?> ? -
A file system protection object. See
protectionblock below for details.final -
provisionedThroughputInMibps
→ Input<
double?> ? -
The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with
throughputModeset toprovisioned.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
A map of tags to assign to the file system. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
throughputMode
→ Input<
String?> ? -
Throughput mode for the file system. Defaults to
bursting, matching theCreateFileSystemAPI default. Note that AWS recommendselasticfor most use cases, andelasticis the default in the Amazon EFS console. Valid values:bursting,provisioned, orelastic. When usingprovisioned, also setprovisionedThroughputInMibps.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited