published on Thursday, Sep 10, 2026 by Pulumi
published on Thursday, Sep 10, 2026 by Pulumi
Resource for managing an Amazon File Cache cache. See the Create File Cache for more information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.fsx.FileCache("example", {
dataRepositoryAssociations: [{
nfs: [{
dnsIps: [
"192.168.0.1",
"192.168.0.2",
],
version: "NFS3",
}],
dataRepositoryPath: "nfs://filer.domain.com",
dataRepositorySubdirectories: [
"test",
"test2",
],
fileCachePath: "/ns1",
}],
lustreConfigurations: [{
metadataConfigurations: [{
storageCapacity: 2400,
}],
deploymentType: "CACHE_1",
perUnitStorageThroughput: 1000,
weeklyMaintenanceStartTime: "2:05:00",
}],
fileCacheType: "LUSTRE",
fileCacheTypeVersion: "2.12",
subnetIds: [test1.id],
storageCapacity: 1200,
});
import pulumi
import pulumi_aws as aws
example = aws.fsx.FileCache("example",
data_repository_associations=[{
"nfs": [{
"dns_ips": [
"192.168.0.1",
"192.168.0.2",
],
"version": "NFS3",
}],
"data_repository_path": "nfs://filer.domain.com",
"data_repository_subdirectories": [
"test",
"test2",
],
"file_cache_path": "/ns1",
}],
lustre_configurations=[{
"metadata_configurations": [{
"storage_capacity": 2400,
}],
"deployment_type": "CACHE_1",
"per_unit_storage_throughput": 1000,
"weekly_maintenance_start_time": "2:05:00",
}],
file_cache_type="LUSTRE",
file_cache_type_version="2.12",
subnet_ids=[test1["id"]],
storage_capacity=1200)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/fsx"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fsx.NewFileCache(ctx, "example", &fsx.FileCacheArgs{
DataRepositoryAssociations: fsx.FileCacheDataRepositoryAssociationArray{
&fsx.FileCacheDataRepositoryAssociationArgs{
Nfs: fsx.FileCacheDataRepositoryAssociationNfArray{
&fsx.FileCacheDataRepositoryAssociationNfArgs{
DnsIps: pulumi.StringArray{
pulumi.String("192.168.0.1"),
pulumi.String("192.168.0.2"),
},
Version: pulumi.String("NFS3"),
},
},
DataRepositoryPath: pulumi.String("nfs://filer.domain.com"),
DataRepositorySubdirectories: pulumi.StringArray{
pulumi.String("test"),
pulumi.String("test2"),
},
FileCachePath: pulumi.String("/ns1"),
},
},
LustreConfigurations: fsx.FileCacheLustreConfigurationArray{
&fsx.FileCacheLustreConfigurationArgs{
MetadataConfigurations: fsx.FileCacheLustreConfigurationMetadataConfigurationArray{
&fsx.FileCacheLustreConfigurationMetadataConfigurationArgs{
StorageCapacity: pulumi.Int(2400),
},
},
DeploymentType: pulumi.String("CACHE_1"),
PerUnitStorageThroughput: pulumi.Int(1000),
WeeklyMaintenanceStartTime: pulumi.String("2:05:00"),
},
},
FileCacheType: pulumi.String("LUSTRE"),
FileCacheTypeVersion: pulumi.String("2.12"),
SubnetIds: pulumi.StringArray{
test1.Id,
},
StorageCapacity: pulumi.Int(1200),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Fsx.FileCache("example", new()
{
DataRepositoryAssociations = new[]
{
new Aws.Fsx.Inputs.FileCacheDataRepositoryAssociationArgs
{
Nfs = new[]
{
new Aws.Fsx.Inputs.FileCacheDataRepositoryAssociationNfArgs
{
DnsIps = new[]
{
"192.168.0.1",
"192.168.0.2",
},
Version = "NFS3",
},
},
DataRepositoryPath = "nfs://filer.domain.com",
DataRepositorySubdirectories = new[]
{
"test",
"test2",
},
FileCachePath = "/ns1",
},
},
LustreConfigurations = new[]
{
new Aws.Fsx.Inputs.FileCacheLustreConfigurationArgs
{
MetadataConfigurations = new[]
{
new Aws.Fsx.Inputs.FileCacheLustreConfigurationMetadataConfigurationArgs
{
StorageCapacity = 2400,
},
},
DeploymentType = "CACHE_1",
PerUnitStorageThroughput = 1000,
WeeklyMaintenanceStartTime = "2:05:00",
},
},
FileCacheType = "LUSTRE",
FileCacheTypeVersion = "2.12",
SubnetIds = new[]
{
test1.Id,
},
StorageCapacity = 1200,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.FileCache;
import com.pulumi.aws.fsx.FileCacheArgs;
import com.pulumi.aws.fsx.inputs.FileCacheDataRepositoryAssociationArgs;
import com.pulumi.aws.fsx.inputs.FileCacheDataRepositoryAssociationNfArgs;
import com.pulumi.aws.fsx.inputs.FileCacheLustreConfigurationArgs;
import com.pulumi.aws.fsx.inputs.FileCacheLustreConfigurationMetadataConfigurationArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new FileCache("example", FileCacheArgs.builder()
.dataRepositoryAssociations(FileCacheDataRepositoryAssociationArgs.builder()
.nfs(FileCacheDataRepositoryAssociationNfArgs.builder()
.dnsIps(
"192.168.0.1",
"192.168.0.2")
.version("NFS3")
.build())
.dataRepositoryPath("nfs://filer.domain.com")
.dataRepositorySubdirectories(
"test",
"test2")
.fileCachePath("/ns1")
.build())
.lustreConfigurations(FileCacheLustreConfigurationArgs.builder()
.metadataConfigurations(FileCacheLustreConfigurationMetadataConfigurationArgs.builder()
.storageCapacity(2400)
.build())
.deploymentType("CACHE_1")
.perUnitStorageThroughput(1000)
.weeklyMaintenanceStartTime("2:05:00")
.build())
.fileCacheType("LUSTRE")
.fileCacheTypeVersion("2.12")
.subnetIds(test1.id())
.storageCapacity(1200)
.build());
}
}
resources:
example:
type: aws:fsx:FileCache
properties:
dataRepositoryAssociations:
- nfs:
- dnsIps:
- 192.168.0.1
- 192.168.0.2
version: NFS3
dataRepositoryPath: nfs://filer.domain.com
dataRepositorySubdirectories:
- test
- test2
fileCachePath: /ns1
lustreConfigurations:
- metadataConfigurations:
- storageCapacity: 2400
deploymentType: CACHE_1
perUnitStorageThroughput: 1000
weeklyMaintenanceStartTime: 2:05:00
fileCacheType: LUSTRE
fileCacheTypeVersion: '2.12'
subnetIds:
- ${test1.id}
storageCapacity: 1200
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_fsx_filecache" "example" {
data_repository_associations {
nfs {
dns_ips = ["192.168.0.1", "192.168.0.2"]
version = "NFS3"
}
data_repository_path = "nfs://filer.domain.com"
data_repository_subdirectories = ["test", "test2"]
file_cache_path = "/ns1"
}
lustre_configurations {
metadata_configurations {
storage_capacity = 2400
}
deployment_type = "CACHE_1"
per_unit_storage_throughput = 1000
weekly_maintenance_start_time = "2:05:00"
}
file_cache_type = "LUSTRE"
file_cache_type_version = "2.12"
subnet_ids = [test1.id]
storage_capacity = 1200
}
Create FileCache Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileCache(name: string, args: FileCacheArgs, opts?: CustomResourceOptions);@overload
def FileCache(resource_name: str,
args: FileCacheArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FileCache(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_cache_type: Optional[str] = None,
file_cache_type_version: Optional[str] = None,
storage_capacity: Optional[int] = None,
subnet_ids: Optional[Sequence[str]] = None,
copy_tags_to_data_repository_associations: Optional[bool] = None,
data_repository_associations: Optional[Sequence[FileCacheDataRepositoryAssociationArgs]] = None,
kms_key_id: Optional[str] = None,
lustre_configurations: Optional[Sequence[FileCacheLustreConfigurationArgs]] = None,
region: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None)func NewFileCache(ctx *Context, name string, args FileCacheArgs, opts ...ResourceOption) (*FileCache, error)public FileCache(string name, FileCacheArgs args, CustomResourceOptions? opts = null)
public FileCache(String name, FileCacheArgs args)
public FileCache(String name, FileCacheArgs args, CustomResourceOptions options)
type: aws:fsx:FileCache
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_fsx_file_cache" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FileCacheArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FileCacheArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FileCacheArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileCacheArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileCacheArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fileCacheResource = new Aws.Fsx.FileCache("fileCacheResource", new()
{
FileCacheType = "string",
FileCacheTypeVersion = "string",
StorageCapacity = 0,
SubnetIds = new[]
{
"string",
},
CopyTagsToDataRepositoryAssociations = false,
DataRepositoryAssociations = new[]
{
new Aws.Fsx.Inputs.FileCacheDataRepositoryAssociationArgs
{
DataRepositoryPath = "string",
FileCachePath = "string",
AssociationId = "string",
DataRepositorySubdirectories = new[]
{
"string",
},
FileCacheId = "string",
FileSystemId = "string",
FileSystemPath = "string",
ImportedFileChunkSize = 0,
Nfs = new[]
{
new Aws.Fsx.Inputs.FileCacheDataRepositoryAssociationNfArgs
{
Version = "string",
DnsIps = new[]
{
"string",
},
},
},
ResourceArn = "string",
Tags =
{
{ "string", "string" },
},
},
},
KmsKeyId = "string",
LustreConfigurations = new[]
{
new Aws.Fsx.Inputs.FileCacheLustreConfigurationArgs
{
DeploymentType = "string",
MetadataConfigurations = new[]
{
new Aws.Fsx.Inputs.FileCacheLustreConfigurationMetadataConfigurationArgs
{
StorageCapacity = 0,
},
},
PerUnitStorageThroughput = 0,
LogConfigurations = new[]
{
new Aws.Fsx.Inputs.FileCacheLustreConfigurationLogConfigurationArgs
{
Destination = "string",
Level = "string",
},
},
MountName = "string",
WeeklyMaintenanceStartTime = "string",
},
},
Region = "string",
SecurityGroupIds = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := fsx.NewFileCache(ctx, "fileCacheResource", &fsx.FileCacheArgs{
FileCacheType: pulumi.String("string"),
FileCacheTypeVersion: pulumi.String("string"),
StorageCapacity: pulumi.Int(0),
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
CopyTagsToDataRepositoryAssociations: pulumi.Bool(false),
DataRepositoryAssociations: fsx.FileCacheDataRepositoryAssociationArray{
&fsx.FileCacheDataRepositoryAssociationArgs{
DataRepositoryPath: pulumi.String("string"),
FileCachePath: pulumi.String("string"),
AssociationId: pulumi.String("string"),
DataRepositorySubdirectories: pulumi.StringArray{
pulumi.String("string"),
},
FileCacheId: pulumi.String("string"),
FileSystemId: pulumi.String("string"),
FileSystemPath: pulumi.String("string"),
ImportedFileChunkSize: pulumi.Int(0),
Nfs: fsx.FileCacheDataRepositoryAssociationNfArray{
&fsx.FileCacheDataRepositoryAssociationNfArgs{
Version: pulumi.String("string"),
DnsIps: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ResourceArn: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
KmsKeyId: pulumi.String("string"),
LustreConfigurations: fsx.FileCacheLustreConfigurationArray{
&fsx.FileCacheLustreConfigurationArgs{
DeploymentType: pulumi.String("string"),
MetadataConfigurations: fsx.FileCacheLustreConfigurationMetadataConfigurationArray{
&fsx.FileCacheLustreConfigurationMetadataConfigurationArgs{
StorageCapacity: pulumi.Int(0),
},
},
PerUnitStorageThroughput: pulumi.Int(0),
LogConfigurations: fsx.FileCacheLustreConfigurationLogConfigurationArray{
&fsx.FileCacheLustreConfigurationLogConfigurationArgs{
Destination: pulumi.String("string"),
Level: pulumi.String("string"),
},
},
MountName: pulumi.String("string"),
WeeklyMaintenanceStartTime: pulumi.String("string"),
},
},
Region: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "aws_fsx_file_cache" "fileCacheResource" {
lifecycle {
create_before_destroy = true
}
file_cache_type = "string"
file_cache_type_version = "string"
storage_capacity = 0
subnet_ids = ["string"]
copy_tags_to_data_repository_associations = false
data_repository_associations {
data_repository_path = "string"
file_cache_path = "string"
association_id = "string"
data_repository_subdirectories = ["string"]
file_cache_id = "string"
file_system_id = "string"
file_system_path = "string"
imported_file_chunk_size = 0
nfs {
version = "string"
dns_ips = ["string"]
}
resource_arn = "string"
tags = {
"string" = "string"
}
}
kms_key_id = "string"
lustre_configurations {
deployment_type = "string"
metadata_configurations {
storage_capacity = 0
}
per_unit_storage_throughput = 0
log_configurations {
destination = "string"
level = "string"
}
mount_name = "string"
weekly_maintenance_start_time = "string"
}
region = "string"
security_group_ids = ["string"]
tags = {
"string" = "string"
}
}
var fileCacheResource = new FileCache("fileCacheResource", FileCacheArgs.builder()
.fileCacheType("string")
.fileCacheTypeVersion("string")
.storageCapacity(0)
.subnetIds("string")
.copyTagsToDataRepositoryAssociations(false)
.dataRepositoryAssociations(FileCacheDataRepositoryAssociationArgs.builder()
.dataRepositoryPath("string")
.fileCachePath("string")
.associationId("string")
.dataRepositorySubdirectories("string")
.fileCacheId("string")
.fileSystemId("string")
.fileSystemPath("string")
.importedFileChunkSize(0)
.nfs(FileCacheDataRepositoryAssociationNfArgs.builder()
.version("string")
.dnsIps("string")
.build())
.resourceArn("string")
.tags(Map.of("string", "string"))
.build())
.kmsKeyId("string")
.lustreConfigurations(FileCacheLustreConfigurationArgs.builder()
.deploymentType("string")
.metadataConfigurations(FileCacheLustreConfigurationMetadataConfigurationArgs.builder()
.storageCapacity(0)
.build())
.perUnitStorageThroughput(0)
.logConfigurations(FileCacheLustreConfigurationLogConfigurationArgs.builder()
.destination("string")
.level("string")
.build())
.mountName("string")
.weeklyMaintenanceStartTime("string")
.build())
.region("string")
.securityGroupIds("string")
.tags(Map.of("string", "string"))
.build());
file_cache_resource = aws.fsx.FileCache("fileCacheResource",
file_cache_type="string",
file_cache_type_version="string",
storage_capacity=0,
subnet_ids=["string"],
copy_tags_to_data_repository_associations=False,
data_repository_associations=[{
"data_repository_path": "string",
"file_cache_path": "string",
"association_id": "string",
"data_repository_subdirectories": ["string"],
"file_cache_id": "string",
"file_system_id": "string",
"file_system_path": "string",
"imported_file_chunk_size": 0,
"nfs": [{
"version": "string",
"dns_ips": ["string"],
}],
"resource_arn": "string",
"tags": {
"string": "string",
},
}],
kms_key_id="string",
lustre_configurations=[{
"deployment_type": "string",
"metadata_configurations": [{
"storage_capacity": 0,
}],
"per_unit_storage_throughput": 0,
"log_configurations": [{
"destination": "string",
"level": "string",
}],
"mount_name": "string",
"weekly_maintenance_start_time": "string",
}],
region="string",
security_group_ids=["string"],
tags={
"string": "string",
})
const fileCacheResource = new aws.fsx.FileCache("fileCacheResource", {
fileCacheType: "string",
fileCacheTypeVersion: "string",
storageCapacity: 0,
subnetIds: ["string"],
copyTagsToDataRepositoryAssociations: false,
dataRepositoryAssociations: [{
dataRepositoryPath: "string",
fileCachePath: "string",
associationId: "string",
dataRepositorySubdirectories: ["string"],
fileCacheId: "string",
fileSystemId: "string",
fileSystemPath: "string",
importedFileChunkSize: 0,
nfs: [{
version: "string",
dnsIps: ["string"],
}],
resourceArn: "string",
tags: {
string: "string",
},
}],
kmsKeyId: "string",
lustreConfigurations: [{
deploymentType: "string",
metadataConfigurations: [{
storageCapacity: 0,
}],
perUnitStorageThroughput: 0,
logConfigurations: [{
destination: "string",
level: "string",
}],
mountName: "string",
weeklyMaintenanceStartTime: "string",
}],
region: "string",
securityGroupIds: ["string"],
tags: {
string: "string",
},
});
type: aws:fsx:FileCache
properties:
copyTagsToDataRepositoryAssociations: false
dataRepositoryAssociations:
- associationId: string
dataRepositoryPath: string
dataRepositorySubdirectories:
- string
fileCacheId: string
fileCachePath: string
fileSystemId: string
fileSystemPath: string
importedFileChunkSize: 0
nfs:
- dnsIps:
- string
version: string
resourceArn: string
tags:
string: string
fileCacheType: string
fileCacheTypeVersion: string
kmsKeyId: string
lustreConfigurations:
- deploymentType: string
logConfigurations:
- destination: string
level: string
metadataConfigurations:
- storageCapacity: 0
mountName: string
perUnitStorageThroughput: 0
weeklyMaintenanceStartTime: string
region: string
securityGroupIds:
- string
storageCapacity: 0
subnetIds:
- string
tags:
string: string
FileCache Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FileCache resource accepts the following input properties:
- File
Cache stringType - Type of cache to create. The only supported value is
LUSTRE. - File
Cache stringType Version - Version for the type of cache to create. The only supported value is
2.12. - Storage
Capacity int - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - Subnet
Ids List<string> - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - Data
Repository List<FileAssociations Cache Data Repository Association> - 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. - Kms
Key stringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- Lustre
Configurations List<FileCache Lustre Configuration> - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Security
Group List<string>Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- Dictionary<string, string>
- 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.
- File
Cache stringType - Type of cache to create. The only supported value is
LUSTRE. - File
Cache stringType Version - Version for the type of cache to create. The only supported value is
2.12. - Storage
Capacity int - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - Subnet
Ids []string - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - Data
Repository []FileAssociations Cache Data Repository Association Args - 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. - Kms
Key stringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- Lustre
Configurations []FileCache Lustre Configuration Args - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Security
Group []stringIds - IDs of the security groups to apply to all network interfaces created for cache access.
- map[string]string
- 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.
- file_
cache_ stringtype - Type of cache to create. The only supported value is
LUSTRE. - file_
cache_ stringtype_ version - Version for the type of cache to create. The only supported value is
2.12. - storage_
capacity number - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet_
ids list(string) - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data_
repository_ list(object)associations - 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. - kms_
key_ stringid - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre_
configurations list(object) - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security_
group_ list(string)ids - IDs of the security groups to apply to all network interfaces created for cache access.
- map(string)
- 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.
- file
Cache StringType - Type of cache to create. The only supported value is
LUSTRE. - file
Cache StringType Version - Version for the type of cache to create. The only supported value is
2.12. - storage
Capacity Integer - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet
Ids List<String> - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- Boolean
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data
Repository List<FileAssociations Cache Data Repository Association> - 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. - kms
Key StringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre
Configurations List<FileCache Lustre Configuration> - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security
Group List<String>Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- Map<String,String>
- 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.
- file
Cache stringType - Type of cache to create. The only supported value is
LUSTRE. - file
Cache stringType Version - Version for the type of cache to create. The only supported value is
2.12. - storage
Capacity number - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet
Ids string[] - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- boolean
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data
Repository FileAssociations Cache Data Repository Association[] - 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. - kms
Key stringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre
Configurations FileCache Lustre Configuration[] - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security
Group string[]Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- {[key: string]: string}
- 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.
- file_
cache_ strtype - Type of cache to create. The only supported value is
LUSTRE. - file_
cache_ strtype_ version - Version for the type of cache to create. The only supported value is
2.12. - storage_
capacity int - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet_
ids Sequence[str] - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data_
repository_ Sequence[Fileassociations Cache Data Repository Association Args] - 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. - kms_
key_ strid - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre_
configurations Sequence[FileCache Lustre Configuration Args] - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security_
group_ Sequence[str]ids - IDs of the security groups to apply to all network interfaces created for cache access.
- Mapping[str, str]
- 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.
- file
Cache StringType - Type of cache to create. The only supported value is
LUSTRE. - file
Cache StringType Version - Version for the type of cache to create. The only supported value is
2.12. - storage
Capacity Number - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet
Ids List<String> - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- Boolean
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data
Repository List<Property Map>Associations - 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. - kms
Key StringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre
Configurations List<Property Map> - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security
Group List<String>Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- Map<String>
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the FileCache resource produces the following output properties:
- Arn string
- ARN of the cache.
- Data
Repository List<string>Association Ids - IDs of data repository associations that are associated with the cache.
- Dns
Name string - DNS name for the cache.
- File
Cache stringId - System-generated, unique ID of the cache.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Interface List<string>Ids - IDs of the network interfaces.
- Owner
Id string - AWS account that created the cache.
- Dictionary<string, string>
- Vpc
Id string - ID of your VPC.
- Arn string
- ARN of the cache.
- Data
Repository []stringAssociation Ids - IDs of data repository associations that are associated with the cache.
- Dns
Name string - DNS name for the cache.
- File
Cache stringId - System-generated, unique ID of the cache.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Interface []stringIds - IDs of the network interfaces.
- Owner
Id string - AWS account that created the cache.
- map[string]string
- Vpc
Id string - ID of your VPC.
- arn string
- ARN of the cache.
- data_
repository_ list(string)association_ ids - IDs of data repository associations that are associated with the cache.
- dns_
name string - DNS name for the cache.
- file_
cache_ stringid - System-generated, unique ID of the cache.
- id string
- The provider-assigned unique ID for this managed resource.
- network_
interface_ list(string)ids - IDs of the network interfaces.
- owner_
id string - AWS account that created the cache.
- map(string)
- vpc_
id string - ID of your VPC.
- arn String
- ARN of the cache.
- data
Repository List<String>Association Ids - IDs of data repository associations that are associated with the cache.
- dns
Name String - DNS name for the cache.
- file
Cache StringId - System-generated, unique ID of the cache.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Interface List<String>Ids - IDs of the network interfaces.
- owner
Id String - AWS account that created the cache.
- Map<String,String>
- vpc
Id String - ID of your VPC.
- arn string
- ARN of the cache.
- data
Repository string[]Association Ids - IDs of data repository associations that are associated with the cache.
- dns
Name string - DNS name for the cache.
- file
Cache stringId - System-generated, unique ID of the cache.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Interface string[]Ids - IDs of the network interfaces.
- owner
Id string - AWS account that created the cache.
- {[key: string]: string}
- vpc
Id string - ID of your VPC.
- arn str
- ARN of the cache.
- data_
repository_ Sequence[str]association_ ids - IDs of data repository associations that are associated with the cache.
- dns_
name str - DNS name for the cache.
- file_
cache_ strid - System-generated, unique ID of the cache.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
interface_ Sequence[str]ids - IDs of the network interfaces.
- owner_
id str - AWS account that created the cache.
- Mapping[str, str]
- vpc_
id str - ID of your VPC.
- arn String
- ARN of the cache.
- data
Repository List<String>Association Ids - IDs of data repository associations that are associated with the cache.
- dns
Name String - DNS name for the cache.
- file
Cache StringId - System-generated, unique ID of the cache.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Interface List<String>Ids - IDs of the network interfaces.
- owner
Id String - AWS account that created the cache.
- Map<String>
- vpc
Id String - ID of your VPC.
Look up Existing FileCache Resource
Get an existing FileCache resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FileCacheState, opts?: CustomResourceOptions): FileCache@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
copy_tags_to_data_repository_associations: Optional[bool] = None,
data_repository_association_ids: Optional[Sequence[str]] = None,
data_repository_associations: Optional[Sequence[FileCacheDataRepositoryAssociationArgs]] = None,
dns_name: Optional[str] = None,
file_cache_id: Optional[str] = None,
file_cache_type: Optional[str] = None,
file_cache_type_version: Optional[str] = None,
kms_key_id: Optional[str] = None,
lustre_configurations: Optional[Sequence[FileCacheLustreConfigurationArgs]] = None,
network_interface_ids: Optional[Sequence[str]] = None,
owner_id: Optional[str] = None,
region: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
storage_capacity: Optional[int] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
vpc_id: Optional[str] = None) -> FileCachefunc GetFileCache(ctx *Context, name string, id IDInput, state *FileCacheState, opts ...ResourceOption) (*FileCache, error)public static FileCache Get(string name, Input<string> id, FileCacheState? state, CustomResourceOptions? opts = null)public static FileCache get(String name, Output<String> id, FileCacheState state, CustomResourceOptions options)resources: _: type: aws:fsx:FileCache get: id: ${id}import {
to = aws_fsx_file_cache.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the cache.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - Data
Repository List<string>Association Ids - IDs of data repository associations that are associated with the cache.
- Data
Repository List<FileAssociations Cache Data Repository Association> - 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. - Dns
Name string - DNS name for the cache.
- File
Cache stringId - System-generated, unique ID of the cache.
- File
Cache stringType - Type of cache to create. The only supported value is
LUSTRE. - File
Cache stringType Version - Version for the type of cache to create. The only supported value is
2.12. - Kms
Key stringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- Lustre
Configurations List<FileCache Lustre Configuration> - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - Network
Interface List<string>Ids - IDs of the network interfaces.
- Owner
Id string - AWS account that created the cache.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Security
Group List<string>Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- Storage
Capacity int - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - Subnet
Ids List<string> - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- Dictionary<string, string>
- 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. - Dictionary<string, string>
- Vpc
Id string - ID of your VPC.
- Arn string
- ARN of the cache.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - Data
Repository []stringAssociation Ids - IDs of data repository associations that are associated with the cache.
- Data
Repository []FileAssociations Cache Data Repository Association Args - 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. - Dns
Name string - DNS name for the cache.
- File
Cache stringId - System-generated, unique ID of the cache.
- File
Cache stringType - Type of cache to create. The only supported value is
LUSTRE. - File
Cache stringType Version - Version for the type of cache to create. The only supported value is
2.12. - Kms
Key stringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- Lustre
Configurations []FileCache Lustre Configuration Args - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - Network
Interface []stringIds - IDs of the network interfaces.
- Owner
Id string - AWS account that created the cache.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Security
Group []stringIds - IDs of the security groups to apply to all network interfaces created for cache access.
- Storage
Capacity int - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - Subnet
Ids []string - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- map[string]string
- 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. - map[string]string
- Vpc
Id string - ID of your VPC.
- arn string
- ARN of the cache.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data_
repository_ list(string)association_ ids - IDs of data repository associations that are associated with the cache.
- data_
repository_ list(object)associations - 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. - dns_
name string - DNS name for the cache.
- file_
cache_ stringid - System-generated, unique ID of the cache.
- file_
cache_ stringtype - Type of cache to create. The only supported value is
LUSTRE. - file_
cache_ stringtype_ version - Version for the type of cache to create. The only supported value is
2.12. - kms_
key_ stringid - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre_
configurations list(object) - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - network_
interface_ list(string)ids - IDs of the network interfaces.
- owner_
id string - AWS account that created the cache.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security_
group_ list(string)ids - IDs of the security groups to apply to all network interfaces created for cache access.
- storage_
capacity number - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet_
ids list(string) - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- map(string)
- 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. - map(string)
- vpc_
id string - ID of your VPC.
- arn String
- ARN of the cache.
- Boolean
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data
Repository List<String>Association Ids - IDs of data repository associations that are associated with the cache.
- data
Repository List<FileAssociations Cache Data Repository Association> - 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. - dns
Name String - DNS name for the cache.
- file
Cache StringId - System-generated, unique ID of the cache.
- file
Cache StringType - Type of cache to create. The only supported value is
LUSTRE. - file
Cache StringType Version - Version for the type of cache to create. The only supported value is
2.12. - kms
Key StringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre
Configurations List<FileCache Lustre Configuration> - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - network
Interface List<String>Ids - IDs of the network interfaces.
- owner
Id String - AWS account that created the cache.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security
Group List<String>Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- storage
Capacity Integer - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet
Ids List<String> - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- Map<String,String>
- 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. - Map<String,String>
- vpc
Id String - ID of your VPC.
- arn string
- ARN of the cache.
- boolean
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data
Repository string[]Association Ids - IDs of data repository associations that are associated with the cache.
- data
Repository FileAssociations Cache Data Repository Association[] - 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. - dns
Name string - DNS name for the cache.
- file
Cache stringId - System-generated, unique ID of the cache.
- file
Cache stringType - Type of cache to create. The only supported value is
LUSTRE. - file
Cache stringType Version - Version for the type of cache to create. The only supported value is
2.12. - kms
Key stringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre
Configurations FileCache Lustre Configuration[] - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - network
Interface string[]Ids - IDs of the network interfaces.
- owner
Id string - AWS account that created the cache.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security
Group string[]Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- storage
Capacity number - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet
Ids string[] - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- {[key: string]: string}
- 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. - {[key: string]: string}
- vpc
Id string - ID of your VPC.
- arn str
- ARN of the cache.
- bool
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data_
repository_ Sequence[str]association_ ids - IDs of data repository associations that are associated with the cache.
- data_
repository_ Sequence[Fileassociations Cache Data Repository Association Args] - 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. - dns_
name str - DNS name for the cache.
- file_
cache_ strid - System-generated, unique ID of the cache.
- file_
cache_ strtype - Type of cache to create. The only supported value is
LUSTRE. - file_
cache_ strtype_ version - Version for the type of cache to create. The only supported value is
2.12. - kms_
key_ strid - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre_
configurations Sequence[FileCache Lustre Configuration Args] - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - network_
interface_ Sequence[str]ids - IDs of the network interfaces.
- owner_
id str - AWS account that created the cache.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security_
group_ Sequence[str]ids - IDs of the security groups to apply to all network interfaces created for cache access.
- storage_
capacity int - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet_
ids Sequence[str] - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- Mapping[str, str]
- 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. - Mapping[str, str]
- vpc_
id str - ID of your VPC.
- arn String
- ARN of the cache.
- Boolean
- Whether to copy tags for the cache to data repository associations. Defaults to
false. - data
Repository List<String>Association Ids - IDs of data repository associations that are associated with the cache.
- data
Repository List<Property Map>Associations - 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. - dns
Name String - DNS name for the cache.
- file
Cache StringId - System-generated, unique ID of the cache.
- file
Cache StringType - Type of cache to create. The only supported value is
LUSTRE. - file
Cache StringType Version - Version for the type of cache to create. The only supported value is
2.12. - kms
Key StringId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
- lustre
Configurations List<Property Map> - Configuration for the Lustre cache. Required when
fileCacheTypeisLUSTRE. SeelustreConfigurationBlock below. - network
Interface List<String>Ids - IDs of the network interfaces.
- owner
Id String - AWS account that created the cache.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- security
Group List<String>Ids - IDs of the security groups to apply to all network interfaces created for cache access.
- storage
Capacity Number - Storage capacity of the cache in gibibytes (GiB). Valid values are
1200GiB,2400GiB, and increments of2400GiB. - subnet
Ids List<String> - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
- Map<String>
- 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. - Map<String>
- vpc
Id String - ID of your VPC.
Supporting Types
FileCacheDataRepositoryAssociation, FileCacheDataRepositoryAssociationArgs
- Data
Repository stringPath - Path to the S3 or NFS data repository that links to the cache.
- File
Cache stringPath - Path on the cache that maps 1-1 with
dataRepositoryPath. Must begin with a forward slash and cannot overlap the cache path of another data repository association. - Association
Id string - System-generated, unique ID of the data repository association.
- Data
Repository List<string>Subdirectories - NFS exports linked with this data repository association, in the format
/exportpath1. ConfiguredataRepositoryPathas the domain name of the NFS file system to use this argument. Not supported for S3 data repositories. Maximum of 500. - File
Cache stringId - System-generated, unique ID of the cache.
- File
System stringId - ID of the file system for an NFS data repository association.
- File
System stringPath - Path to the data repository on the file system.
- Imported
File intChunk Size - Size, in mebibytes (MiB), of the data blocks used to represent imported files.
- Nfs
List<File
Cache Data Repository Association Nf> - Configuration for a data repository association linked to an NFS file system. See
nfsBlock below. - Resource
Arn string - ARN of the data repository association.
- Dictionary<string, string>
- 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.
- Data
Repository stringPath - Path to the S3 or NFS data repository that links to the cache.
- File
Cache stringPath - Path on the cache that maps 1-1 with
dataRepositoryPath. Must begin with a forward slash and cannot overlap the cache path of another data repository association. - Association
Id string - System-generated, unique ID of the data repository association.
- Data
Repository []stringSubdirectories - NFS exports linked with this data repository association, in the format
/exportpath1. ConfiguredataRepositoryPathas the domain name of the NFS file system to use this argument. Not supported for S3 data repositories. Maximum of 500. - File
Cache stringId - System-generated, unique ID of the cache.
- File
System stringId - ID of the file system for an NFS data repository association.
- File
System stringPath - Path to the data repository on the file system.
- Imported
File intChunk Size - Size, in mebibytes (MiB), of the data blocks used to represent imported files.
- Nfs
[]File
Cache Data Repository Association Nf - Configuration for a data repository association linked to an NFS file system. See
nfsBlock below. - Resource
Arn string - ARN of the data repository association.
- map[string]string
- 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.
- data_
repository_ stringpath - Path to the S3 or NFS data repository that links to the cache.
- file_
cache_ stringpath - Path on the cache that maps 1-1 with
dataRepositoryPath. Must begin with a forward slash and cannot overlap the cache path of another data repository association. - association_
id string - System-generated, unique ID of the data repository association.
- data_
repository_ list(string)subdirectories - NFS exports linked with this data repository association, in the format
/exportpath1. ConfiguredataRepositoryPathas the domain name of the NFS file system to use this argument. Not supported for S3 data repositories. Maximum of 500. - file_
cache_ stringid - System-generated, unique ID of the cache.
- file_
system_ stringid - ID of the file system for an NFS data repository association.
- file_
system_ stringpath - Path to the data repository on the file system.
- imported_
file_ numberchunk_ size - Size, in mebibytes (MiB), of the data blocks used to represent imported files.
- nfs list(object)
- Configuration for a data repository association linked to an NFS file system. See
nfsBlock below. - resource_
arn string - ARN of the data repository association.
- map(string)
- 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.
- data
Repository StringPath - Path to the S3 or NFS data repository that links to the cache.
- file
Cache StringPath - Path on the cache that maps 1-1 with
dataRepositoryPath. Must begin with a forward slash and cannot overlap the cache path of another data repository association. - association
Id String - System-generated, unique ID of the data repository association.
- data
Repository List<String>Subdirectories - NFS exports linked with this data repository association, in the format
/exportpath1. ConfiguredataRepositoryPathas the domain name of the NFS file system to use this argument. Not supported for S3 data repositories. Maximum of 500. - file
Cache StringId - System-generated, unique ID of the cache.
- file
System StringId - ID of the file system for an NFS data repository association.
- file
System StringPath - Path to the data repository on the file system.
- imported
File IntegerChunk Size - Size, in mebibytes (MiB), of the data blocks used to represent imported files.
- nfs
List<File
Cache Data Repository Association Nf> - Configuration for a data repository association linked to an NFS file system. See
nfsBlock below. - resource
Arn String - ARN of the data repository association.
- Map<String,String>
- 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.
- data
Repository stringPath - Path to the S3 or NFS data repository that links to the cache.
- file
Cache stringPath - Path on the cache that maps 1-1 with
dataRepositoryPath. Must begin with a forward slash and cannot overlap the cache path of another data repository association. - association
Id string - System-generated, unique ID of the data repository association.
- data
Repository string[]Subdirectories - NFS exports linked with this data repository association, in the format
/exportpath1. ConfiguredataRepositoryPathas the domain name of the NFS file system to use this argument. Not supported for S3 data repositories. Maximum of 500. - file
Cache stringId - System-generated, unique ID of the cache.
- file
System stringId - ID of the file system for an NFS data repository association.
- file
System stringPath - Path to the data repository on the file system.
- imported
File numberChunk Size - Size, in mebibytes (MiB), of the data blocks used to represent imported files.
- nfs
File
Cache Data Repository Association Nf[] - Configuration for a data repository association linked to an NFS file system. See
nfsBlock below. - resource
Arn string - ARN of the data repository association.
- {[key: string]: string}
- 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.
- data_
repository_ strpath - Path to the S3 or NFS data repository that links to the cache.
- file_
cache_ strpath - Path on the cache that maps 1-1 with
dataRepositoryPath. Must begin with a forward slash and cannot overlap the cache path of another data repository association. - association_
id str - System-generated, unique ID of the data repository association.
- data_
repository_ Sequence[str]subdirectories - NFS exports linked with this data repository association, in the format
/exportpath1. ConfiguredataRepositoryPathas the domain name of the NFS file system to use this argument. Not supported for S3 data repositories. Maximum of 500. - file_
cache_ strid - System-generated, unique ID of the cache.
- file_
system_ strid - ID of the file system for an NFS data repository association.
- file_
system_ strpath - Path to the data repository on the file system.
- imported_
file_ intchunk_ size - Size, in mebibytes (MiB), of the data blocks used to represent imported files.
- nfs
Sequence[File
Cache Data Repository Association Nf] - Configuration for a data repository association linked to an NFS file system. See
nfsBlock below. - resource_
arn str - ARN of the data repository association.
- Mapping[str, str]
- 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.
- data
Repository StringPath - Path to the S3 or NFS data repository that links to the cache.
- file
Cache StringPath - Path on the cache that maps 1-1 with
dataRepositoryPath. Must begin with a forward slash and cannot overlap the cache path of another data repository association. - association
Id String - System-generated, unique ID of the data repository association.
- data
Repository List<String>Subdirectories - NFS exports linked with this data repository association, in the format
/exportpath1. ConfiguredataRepositoryPathas the domain name of the NFS file system to use this argument. Not supported for S3 data repositories. Maximum of 500. - file
Cache StringId - System-generated, unique ID of the cache.
- file
System StringId - ID of the file system for an NFS data repository association.
- file
System StringPath - Path to the data repository on the file system.
- imported
File NumberChunk Size - Size, in mebibytes (MiB), of the data blocks used to represent imported files.
- nfs List<Property Map>
- Configuration for a data repository association linked to an NFS file system. See
nfsBlock below. - resource
Arn String - ARN of the data repository association.
- Map<String>
- 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.
FileCacheDataRepositoryAssociationNf, FileCacheDataRepositoryAssociationNfArgs
FileCacheLustreConfiguration, FileCacheLustreConfigurationArgs
- Deployment
Type string - Cache deployment type. The only supported value is
CACHE_1. - Metadata
Configurations List<FileCache Lustre Configuration Metadata Configuration> - Configuration for a Lustre MDT (Metadata Target) storage volume. See
metadataConfigurationBlock below. - Per
Unit intStorage Throughput - Throughput provisioned for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is
1000. - Log
Configurations List<FileCache Lustre Configuration Log Configuration> - Configuration for Lustre logging used to write the enabled logging events for the cache. See
logConfigurationBlock below. - Mount
Name string - Mount name of the cache.
- Weekly
Maintenance stringStart Time - Recurring weekly time to start maintenance, in the format
D:HH:MM.Dis the day of the week, where1represents Monday and7represents Sunday.HHis the zero-padded hour of the day (0-23), andMMis the zero-padded minute of the hour. See the ISO week date for more information.
- Deployment
Type string - Cache deployment type. The only supported value is
CACHE_1. - Metadata
Configurations []FileCache Lustre Configuration Metadata Configuration - Configuration for a Lustre MDT (Metadata Target) storage volume. See
metadataConfigurationBlock below. - Per
Unit intStorage Throughput - Throughput provisioned for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is
1000. - Log
Configurations []FileCache Lustre Configuration Log Configuration - Configuration for Lustre logging used to write the enabled logging events for the cache. See
logConfigurationBlock below. - Mount
Name string - Mount name of the cache.
- Weekly
Maintenance stringStart Time - Recurring weekly time to start maintenance, in the format
D:HH:MM.Dis the day of the week, where1represents Monday and7represents Sunday.HHis the zero-padded hour of the day (0-23), andMMis the zero-padded minute of the hour. See the ISO week date for more information.
- deployment_
type string - Cache deployment type. The only supported value is
CACHE_1. - metadata_
configurations list(object) - Configuration for a Lustre MDT (Metadata Target) storage volume. See
metadataConfigurationBlock below. - per_
unit_ numberstorage_ throughput - Throughput provisioned for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is
1000. - log_
configurations list(object) - Configuration for Lustre logging used to write the enabled logging events for the cache. See
logConfigurationBlock below. - mount_
name string - Mount name of the cache.
- weekly_
maintenance_ stringstart_ time - Recurring weekly time to start maintenance, in the format
D:HH:MM.Dis the day of the week, where1represents Monday and7represents Sunday.HHis the zero-padded hour of the day (0-23), andMMis the zero-padded minute of the hour. See the ISO week date for more information.
- deployment
Type String - Cache deployment type. The only supported value is
CACHE_1. - metadata
Configurations List<FileCache Lustre Configuration Metadata Configuration> - Configuration for a Lustre MDT (Metadata Target) storage volume. See
metadataConfigurationBlock below. - per
Unit IntegerStorage Throughput - Throughput provisioned for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is
1000. - log
Configurations List<FileCache Lustre Configuration Log Configuration> - Configuration for Lustre logging used to write the enabled logging events for the cache. See
logConfigurationBlock below. - mount
Name String - Mount name of the cache.
- weekly
Maintenance StringStart Time - Recurring weekly time to start maintenance, in the format
D:HH:MM.Dis the day of the week, where1represents Monday and7represents Sunday.HHis the zero-padded hour of the day (0-23), andMMis the zero-padded minute of the hour. See the ISO week date for more information.
- deployment
Type string - Cache deployment type. The only supported value is
CACHE_1. - metadata
Configurations FileCache Lustre Configuration Metadata Configuration[] - Configuration for a Lustre MDT (Metadata Target) storage volume. See
metadataConfigurationBlock below. - per
Unit numberStorage Throughput - Throughput provisioned for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is
1000. - log
Configurations FileCache Lustre Configuration Log Configuration[] - Configuration for Lustre logging used to write the enabled logging events for the cache. See
logConfigurationBlock below. - mount
Name string - Mount name of the cache.
- weekly
Maintenance stringStart Time - Recurring weekly time to start maintenance, in the format
D:HH:MM.Dis the day of the week, where1represents Monday and7represents Sunday.HHis the zero-padded hour of the day (0-23), andMMis the zero-padded minute of the hour. See the ISO week date for more information.
- deployment_
type str - Cache deployment type. The only supported value is
CACHE_1. - metadata_
configurations Sequence[FileCache Lustre Configuration Metadata Configuration] - Configuration for a Lustre MDT (Metadata Target) storage volume. See
metadataConfigurationBlock below. - per_
unit_ intstorage_ throughput - Throughput provisioned for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is
1000. - log_
configurations Sequence[FileCache Lustre Configuration Log Configuration] - Configuration for Lustre logging used to write the enabled logging events for the cache. See
logConfigurationBlock below. - mount_
name str - Mount name of the cache.
- weekly_
maintenance_ strstart_ time - Recurring weekly time to start maintenance, in the format
D:HH:MM.Dis the day of the week, where1represents Monday and7represents Sunday.HHis the zero-padded hour of the day (0-23), andMMis the zero-padded minute of the hour. See the ISO week date for more information.
- deployment
Type String - Cache deployment type. The only supported value is
CACHE_1. - metadata
Configurations List<Property Map> - Configuration for a Lustre MDT (Metadata Target) storage volume. See
metadataConfigurationBlock below. - per
Unit NumberStorage Throughput - Throughput provisioned for each 1 tebibyte (TiB) of cache storage capacity, in MB/s/TiB. The only supported value is
1000. - log
Configurations List<Property Map> - Configuration for Lustre logging used to write the enabled logging events for the cache. See
logConfigurationBlock below. - mount
Name String - Mount name of the cache.
- weekly
Maintenance StringStart Time - Recurring weekly time to start maintenance, in the format
D:HH:MM.Dis the day of the week, where1represents Monday and7represents Sunday.HHis the zero-padded hour of the day (0-23), andMMis the zero-padded minute of the hour. See the ISO week date for more information.
FileCacheLustreConfigurationLogConfiguration, FileCacheLustreConfigurationLogConfigurationArgs
- Destination string
- ARN of the destination that receives the logs.
- Level string
- Level of logging that Lustre logs write to the destination.
- Destination string
- ARN of the destination that receives the logs.
- Level string
- Level of logging that Lustre logs write to the destination.
- destination string
- ARN of the destination that receives the logs.
- level string
- Level of logging that Lustre logs write to the destination.
- destination String
- ARN of the destination that receives the logs.
- level String
- Level of logging that Lustre logs write to the destination.
- destination string
- ARN of the destination that receives the logs.
- level string
- Level of logging that Lustre logs write to the destination.
- destination str
- ARN of the destination that receives the logs.
- level str
- Level of logging that Lustre logs write to the destination.
- destination String
- ARN of the destination that receives the logs.
- level String
- Level of logging that Lustre logs write to the destination.
FileCacheLustreConfigurationMetadataConfiguration, FileCacheLustreConfigurationMetadataConfigurationArgs
- Storage
Capacity int - Storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is
2400GiB.
- Storage
Capacity int - Storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is
2400GiB.
- storage_
capacity number - Storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is
2400GiB.
- storage
Capacity Integer - Storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is
2400GiB.
- storage
Capacity number - Storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is
2400GiB.
- storage_
capacity int - Storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is
2400GiB.
- storage
Capacity Number - Storage capacity of the Lustre MDT (Metadata Target) storage volume in gibibytes (GiB). The only supported value is
2400GiB.
Import
Using pulumi import, import Amazon File Cache cache using the resource id. For example:
$ pulumi import aws:fsx/fileCache:FileCache example fc-8012925589
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Sep 10, 2026 by Pulumi