FileCacheArgs class
The set of arguments for FileCache. The set of arguments for FileCache.
Constructors
-
FileCacheArgs({Input<
bool?> ? copyTagsToDataRepositoryAssociations, Input<List< ? dataRepositoryAssociations, required Input<FileCacheDataRepositoryAssociation> ?>String> fileCacheType, required Input<String> fileCacheTypeVersion, Input<String?> ? kmsKeyId, Input<List< ? lustreConfigurations, Input<FileCacheLustreConfiguration> ?>String?> ? region, Input<List< ? securityGroupIds, required Input<String> ?>int> storageCapacity, required Input<List< subnetIds, Input<String> >Map< ? tags})String, String> ?> -
Creates a new FileCacheArgs.
copyTagsToDataRepositoryAssociationsWhether to copy tags for the cache to data repository associations. Defaults tofalse.dataRepositoryAssociationsConfigurations for up to 8 data repository associations (DRAs) to create during cache creation. All configurations must be of the same data repository type, either all S3 or all NFS. Maximum of 8. SeedataRepositoryAssociationBlock below.fileCacheTypeType of cache to create. The only supported value isLUSTRE.fileCacheTypeVersionVersion for the type of cache to create. The only supported value is2.12.kmsKeyIdID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.lustreConfigurationsConfiguration for the Lustre cache. Required whenfileCacheTypeisLUSTRE. SeelustreConfigurationBlock below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.securityGroupIdsIDs of the security groups to apply to all network interfaces created for cache access.storageCapacityStorage capacity of the cache in gibibytes (GiB). Valid values are1200GiB,2400GiB, and increments of2400GiB.subnetIdsSubnet IDs that the cache is accessible from. You can specify only one subnet ID.tagsMap of tags to assign to the file cache. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
FileCacheArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
copyTagsToDataRepositoryAssociations
→ Input<
bool?> ? -
Whether to copy tags for the cache to data repository associations. Defaults to
false.final -
dataRepositoryAssociations
→ Input<
List< ?FileCacheDataRepositoryAssociation> ?> -
Configurations for up to 8 data repository associations (DRAs) to create during cache creation. All configurations must be of the same data repository type, either all S3 or all NFS. Maximum of 8. See
dataRepositoryAssociationBlock below.final -
fileCacheType
→ Input<
String> -
Type of cache to create. The only supported value is
LUSTRE.final -
fileCacheTypeVersion
→ Input<
String> -
Version for the type of cache to create. The only supported value is
2.12.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyId
→ Input<
String?> ? -
ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
final
-
lustreConfigurations
→ Input<
List< ?FileCacheLustreConfiguration> ?> -
Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below.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
-
securityGroupIds
→ Input<
List< ?String> ?> -
IDs of the security groups to apply to all network interfaces created for cache access.
final
-
storageCapacity
→ Input<
int> -
Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB.final -
subnetIds
→ Input<
List< String> > -
Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
final
-
Map of tags to assign to the file cache. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.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