FileCacheArgs constructor
- Input<
bool?> ? copyTagsToDataRepositoryAssociations, - Input<
List< ? dataRepositoryAssociations,FileCacheDataRepositoryAssociation> ?> - required Input<
String> fileCacheType, - required Input<
String> fileCacheTypeVersion, - Input<
String?> ? kmsKeyId, - Input<
List< ? lustreConfigurations,FileCacheLustreConfiguration> ?> - Input<
String?> ? region, - Input<
List< ? securityGroupIds,String> ?> - required Input<
int> storageCapacity, - required Input<
List< subnetIds,String> > - Input<
Map< ? tags,String, String> ?>
Creates a new FileCacheArgs.
copyTagsToDataRepositoryAssociations Whether to copy tags for the cache to data repository associations. Defaults to false.
dataRepositoryAssociations 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 dataRepositoryAssociation Block below.
fileCacheType Type of cache to create. The only supported value is LUSTRE.
fileCacheTypeVersion Version for the type of cache to create. The only supported value is 2.12.
kmsKeyId ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
lustreConfigurations Configuration for the Lustre cache. Required when fileCacheType is LUSTRE. See lustreConfiguration Block below.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
securityGroupIds IDs of the security groups to apply to all network interfaces created for cache access.
storageCapacity Storage capacity of the cache in gibibytes (GiB). Valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.
subnetIds Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
tags Map of tags to assign to the file cache. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const FileCacheArgs({
this.copyTagsToDataRepositoryAssociations,
this.dataRepositoryAssociations,
required this.fileCacheType,
required this.fileCacheTypeVersion,
this.kmsKeyId,
this.lustreConfigurations,
this.region,
this.securityGroupIds,
required this.storageCapacity,
required this.subnetIds,
this.tags,
});