Interface CfnFileCacheProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFileCacheProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:52.584Z")
@Stability(Stable)
public interface CfnFileCacheProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnFileCache.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
CfnFileCacheProps cfnFileCacheProps = CfnFileCacheProps.builder()
.fileCacheType("fileCacheType")
.fileCacheTypeVersion("fileCacheTypeVersion")
.storageCapacity(123)
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.copyTagsToDataRepositoryAssociations(false)
.dataRepositoryAssociations(List.of(DataRepositoryAssociationProperty.builder()
.dataRepositoryPath("dataRepositoryPath")
.fileCachePath("fileCachePath")
.build()))
.kmsKeyId("kmsKeyId")
.lustreConfiguration(LustreConfigurationProperty.builder()
.deploymentType("deploymentType")
.metadataConfiguration(MetadataConfigurationProperty.builder()
.storageCapacity(123)
.build())
.perUnitStorageThroughput(123)
// the properties below are optional
.logConfiguration(LogConfigurationProperty.builder()
.level("level")
// the properties below are optional
.destination("destination")
.build())
.mountName("mountName")
.weeklyMaintenanceStartTime("weeklyMaintenanceStartTime")
.build())
.securityGroupIds(List.of("securityGroupIds"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFileCachePropsstatic final classAn implementation forCfnFileCacheProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFileCacheProps.Builderbuilder()default ObjectWhether tags should be copied to data repository associations.default ObjectData repository associations for the cache.The type of cache, which must be LUSTRE.The Lustre version of the cache, which must be 2.12.default StringThe KMS key ID for encrypting data.default ObjectReturns union: eitherIResolvableorCfnFileCache.LustreConfigurationPropertyA list of security group IDs for the cache.The storage capacity of the cache in gibibytes (GiB).A list of subnet IDs for the cache.getTags()Tags to associate with the file cache.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFileCacheType
The type of cache, which must be LUSTRE.- See Also:
-
getFileCacheTypeVersion
The Lustre version of the cache, which must be 2.12.- See Also:
-
getStorageCapacity
The storage capacity of the cache in gibibytes (GiB).- See Also:
-
getSubnetIds
A list of subnet IDs for the cache.- See Also:
-
getCopyTagsToDataRepositoryAssociations
Whether tags should be copied to data repository associations.Returns union: either
BooleanorIResolvable- See Also:
-
getDataRepositoryAssociations
Data repository associations for the cache.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFileCache.DataRepositoryAssociationProperty>- See Also:
-
getKmsKeyId
The KMS key ID for encrypting data.- See Also:
-
getLustreConfiguration
Returns union: eitherIResolvableorCfnFileCache.LustreConfigurationProperty- See Also:
-
getSecurityGroupIds
A list of security group IDs for the cache.- See Also:
-
getTags
Tags to associate with the file cache.- See Also:
-
builder
- Returns:
- a
CfnFileCacheProps.BuilderofCfnFileCacheProps
-