interface CfnFileCacheProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.FSx.CfnFileCacheProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsfsx#CfnFileCacheProps |
Java | software.amazon.awscdk.services.fsx.CfnFileCacheProps |
Python | aws_cdk.aws_fsx.CfnFileCacheProps |
TypeScript | aws-cdk-lib » aws_fsx » CfnFileCacheProps |
Properties for defining a CfnFileCache.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-filecache.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as fsx } from 'aws-cdk-lib';
const cfnFileCacheProps: fsx.CfnFileCacheProps = {
fileCacheType: 'fileCacheType',
fileCacheTypeVersion: 'fileCacheTypeVersion',
storageCapacity: 123,
subnetIds: ['subnetIds'],
// the properties below are optional
copyTagsToDataRepositoryAssociations: false,
dataRepositoryAssociations: [{
dataRepositoryPath: 'dataRepositoryPath',
fileCachePath: 'fileCachePath',
}],
kmsKeyId: 'kmsKeyId',
lustreConfiguration: {
deploymentType: 'deploymentType',
metadataConfiguration: {
storageCapacity: 123,
},
perUnitStorageThroughput: 123,
// the properties below are optional
logConfiguration: {
level: 'level',
// the properties below are optional
destination: 'destination',
},
mountName: 'mountName',
weeklyMaintenanceStartTime: 'weeklyMaintenanceStartTime',
},
securityGroupIds: ['securityGroupIds'],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| file | string | The type of cache, which must be LUSTRE. |
| file | string | The Lustre version of the cache, which must be 2.12. |
| storage | number | The storage capacity of the cache in gibibytes (GiB). |
| subnet | string[] | A list of subnet IDs for the cache. |
| copy | boolean | IResolvable | Whether tags should be copied to data repository associations. |
| data | IResolvable | (IResolvable | Data)[] | Data repository associations for the cache. |
| kms | string | The KMS key ID for encrypting data. |
| lustre | IResolvable | Lustre | |
| security | string[] | A list of security group IDs for the cache. |
| tags? | Cfn[] | Tags to associate with the file cache. |
fileCacheType
Type:
string
The type of cache, which must be LUSTRE.
fileCacheTypeVersion
Type:
string
The Lustre version of the cache, which must be 2.12.
storageCapacity
Type:
number
The storage capacity of the cache in gibibytes (GiB).
subnetIds
Type:
string[]
A list of subnet IDs for the cache.
copyTagsToDataRepositoryAssociations?
Type:
boolean | IResolvable
(optional)
Whether tags should be copied to data repository associations.
dataRepositoryAssociations?
Type:
IResolvable | (IResolvable | Data)[]
(optional)
Data repository associations for the cache.
kmsKeyId?
Type:
string
(optional)
The KMS key ID for encrypting data.
lustreConfiguration?
Type:
IResolvable | Lustre
(optional)
securityGroupIds?
Type:
string[]
(optional)
A list of security group IDs for the cache.
tags?
Type:
Cfn[]
(optional)
Tags to associate with the file cache.

.NET
Go
Java
Python
TypeScript