We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::FSx::FileCache
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[FileCacheType] = 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_configuration: Optional[FileCacheLustreConfigurationArgs] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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-native:fsx:FileCache
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_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.
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 Pulumi.Type Aws Native. FSx. File Cache Type - The type of cache, which must be LUSTRE
- File
Cache stringType Version - The Lustre version of the cache, which must be 2.12
- Storage
Capacity int - The storage capacity of the cache in gibibytes (GiB)
- Subnet
Ids List<string> - A list of subnet IDs for the cache
- bool
- Whether tags should be copied to data repository associations
- Data
Repository List<Pulumi.Associations Aws Native. FSx. Inputs. File Cache Data Repository Association> - Data repository associations for the cache
- Kms
Key stringId - The KMS key ID for encrypting data
- Lustre
Configuration Pulumi.Aws Native. FSx. Inputs. File Cache Lustre Configuration - The Lustre configuration for the file cache
- Security
Group List<string>Ids - A list of security group IDs for the cache
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags to associate with the file cache
- File
Cache FileType Cache Type - The type of cache, which must be LUSTRE
- File
Cache stringType Version - The Lustre version of the cache, which must be 2.12
- Storage
Capacity int - The storage capacity of the cache in gibibytes (GiB)
- Subnet
Ids []string - A list of subnet IDs for the cache
- bool
- Whether tags should be copied to data repository associations
- Data
Repository []FileAssociations Cache Data Repository Association Args - Data repository associations for the cache
- Kms
Key stringId - The KMS key ID for encrypting data
- Lustre
Configuration FileCache Lustre Configuration Args - The Lustre configuration for the file cache
- Security
Group []stringIds - A list of security group IDs for the cache
-
Tag
Args - Tags to associate with the file cache
- file_
cache_ "LUSTRE"type - The type of cache, which must be LUSTRE
- file_
cache_ stringtype_ version - The Lustre version of the cache, which must be 2.12
- storage_
capacity number - The storage capacity of the cache in gibibytes (GiB)
- subnet_
ids list(string) - A list of subnet IDs for the cache
- bool
- Whether tags should be copied to data repository associations
- data_
repository_ list(object)associations - Data repository associations for the cache
- kms_
key_ stringid - The KMS key ID for encrypting data
- lustre_
configuration object - The Lustre configuration for the file cache
- security_
group_ list(string)ids - A list of security group IDs for the cache
- list(object)
- Tags to associate with the file cache
- file
Cache FileType Cache Type - The type of cache, which must be LUSTRE
- file
Cache StringType Version - The Lustre version of the cache, which must be 2.12
- storage
Capacity Integer - The storage capacity of the cache in gibibytes (GiB)
- subnet
Ids List<String> - A list of subnet IDs for the cache
- Boolean
- Whether tags should be copied to data repository associations
- data
Repository List<FileAssociations Cache Data Repository Association> - Data repository associations for the cache
- kms
Key StringId - The KMS key ID for encrypting data
- lustre
Configuration FileCache Lustre Configuration - The Lustre configuration for the file cache
- security
Group List<String>Ids - A list of security group IDs for the cache
- List<Tag>
- Tags to associate with the file cache
- file
Cache FileType Cache Type - The type of cache, which must be LUSTRE
- file
Cache stringType Version - The Lustre version of the cache, which must be 2.12
- storage
Capacity number - The storage capacity of the cache in gibibytes (GiB)
- subnet
Ids string[] - A list of subnet IDs for the cache
- boolean
- Whether tags should be copied to data repository associations
- data
Repository FileAssociations Cache Data Repository Association[] - Data repository associations for the cache
- kms
Key stringId - The KMS key ID for encrypting data
- lustre
Configuration FileCache Lustre Configuration - The Lustre configuration for the file cache
- security
Group string[]Ids - A list of security group IDs for the cache
- Tag[]
- Tags to associate with the file cache
- file_
cache_ Filetype Cache Type - The type of cache, which must be LUSTRE
- file_
cache_ strtype_ version - The Lustre version of the cache, which must be 2.12
- storage_
capacity int - The storage capacity of the cache in gibibytes (GiB)
- subnet_
ids Sequence[str] - A list of subnet IDs for the cache
- bool
- Whether tags should be copied to data repository associations
- data_
repository_ Sequence[Fileassociations Cache Data Repository Association Args] - Data repository associations for the cache
- kms_
key_ strid - The KMS key ID for encrypting data
- lustre_
configuration FileCache Lustre Configuration Args - The Lustre configuration for the file cache
- security_
group_ Sequence[str]ids - A list of security group IDs for the cache
-
Sequence[Tag
Args] - Tags to associate with the file cache
- file
Cache "LUSTRE"Type - The type of cache, which must be LUSTRE
- file
Cache StringType Version - The Lustre version of the cache, which must be 2.12
- storage
Capacity Number - The storage capacity of the cache in gibibytes (GiB)
- subnet
Ids List<String> - A list of subnet IDs for the cache
- Boolean
- Whether tags should be copied to data repository associations
- data
Repository List<Property Map>Associations - Data repository associations for the cache
- kms
Key StringId - The KMS key ID for encrypting data
- lustre
Configuration Property Map - The Lustre configuration for the file cache
- security
Group List<String>Ids - A list of security group IDs for the cache
- List<Property Map>
- Tags to associate with the file cache
Outputs
All input properties are implicitly available as output properties. Additionally, the FileCache resource produces the following output properties:
- Creation
Time string - The time the cache was created
- Data
Repository List<string>Association Ids - A list of IDs of data repository associations that are associated with this cache
- Dns
Name string - The DNS name for the cache
- File
Cache stringId - The ID of the file cache
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Pulumi.
Aws Native. FSx. File Cache Lifecycle - The lifecycle status of the cache
- Network
Interface List<string>Ids - Network interface IDs for the cache
- Owner
Id string - The AWS account ID of the cache owner
- Resource
Arn string - The Amazon Resource Name (ARN) of the file cache
- Vpc
Id string - The VPC ID of the cache
- Creation
Time string - The time the cache was created
- Data
Repository []stringAssociation Ids - A list of IDs of data repository associations that are associated with this cache
- Dns
Name string - The DNS name for the cache
- File
Cache stringId - The ID of the file cache
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
File
Cache Lifecycle - The lifecycle status of the cache
- Network
Interface []stringIds - Network interface IDs for the cache
- Owner
Id string - The AWS account ID of the cache owner
- Resource
Arn string - The Amazon Resource Name (ARN) of the file cache
- Vpc
Id string - The VPC ID of the cache
- creation_
time string - The time the cache was created
- data_
repository_ list(string)association_ ids - A list of IDs of data repository associations that are associated with this cache
- dns_
name string - The DNS name for the cache
- file_
cache_ stringid - The ID of the file cache
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle "AVAILABLE" | "CREATING" | "DELETING" | "UPDATING" | "FAILED"
- The lifecycle status of the cache
- network_
interface_ list(string)ids - Network interface IDs for the cache
- owner_
id string - The AWS account ID of the cache owner
- resource_
arn string - The Amazon Resource Name (ARN) of the file cache
- vpc_
id string - The VPC ID of the cache
- creation
Time String - The time the cache was created
- data
Repository List<String>Association Ids - A list of IDs of data repository associations that are associated with this cache
- dns
Name String - The DNS name for the cache
- file
Cache StringId - The ID of the file cache
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
File
Cache Lifecycle - The lifecycle status of the cache
- network
Interface List<String>Ids - Network interface IDs for the cache
- owner
Id String - The AWS account ID of the cache owner
- resource
Arn String - The Amazon Resource Name (ARN) of the file cache
- vpc
Id String - The VPC ID of the cache
- creation
Time string - The time the cache was created
- data
Repository string[]Association Ids - A list of IDs of data repository associations that are associated with this cache
- dns
Name string - The DNS name for the cache
- file
Cache stringId - The ID of the file cache
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
File
Cache Lifecycle - The lifecycle status of the cache
- network
Interface string[]Ids - Network interface IDs for the cache
- owner
Id string - The AWS account ID of the cache owner
- resource
Arn string - The Amazon Resource Name (ARN) of the file cache
- vpc
Id string - The VPC ID of the cache
- creation_
time str - The time the cache was created
- data_
repository_ Sequence[str]association_ ids - A list of IDs of data repository associations that are associated with this cache
- dns_
name str - The DNS name for the cache
- file_
cache_ strid - The ID of the file cache
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle
File
Cache Lifecycle - The lifecycle status of the cache
- network_
interface_ Sequence[str]ids - Network interface IDs for the cache
- owner_
id str - The AWS account ID of the cache owner
- resource_
arn str - The Amazon Resource Name (ARN) of the file cache
- vpc_
id str - The VPC ID of the cache
- creation
Time String - The time the cache was created
- data
Repository List<String>Association Ids - A list of IDs of data repository associations that are associated with this cache
- dns
Name String - The DNS name for the cache
- file
Cache StringId - The ID of the file cache
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle "AVAILABLE" | "CREATING" | "DELETING" | "UPDATING" | "FAILED"
- The lifecycle status of the cache
- network
Interface List<String>Ids - Network interface IDs for the cache
- owner
Id String - The AWS account ID of the cache owner
- resource
Arn String - The Amazon Resource Name (ARN) of the file cache
- vpc
Id String - The VPC ID of the cache
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>, opts?: CustomResourceOptions): FileCache@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> FileCachefunc GetFileCache(ctx *Context, name string, id IDInput, state *FileCacheState, opts ...ResourceOption) (*FileCache, error)public static FileCache Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static FileCache get(String name, Output<String> id, CustomResourceOptions options)resources: existingFileCache: type: aws-native:fsx:FileCache get: id: ${id}import {
to = aws-native_fsx_file_cache.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state FileCacheState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
FileCacheDataRepositoryAssociation, FileCacheDataRepositoryAssociationArgs
- Data
Repository stringPath - File
Cache stringPath
- Data
Repository stringPath - File
Cache stringPath
- data_
repository_ stringpath - file_
cache_ stringpath
- data
Repository StringPath - file
Cache StringPath
- data
Repository stringPath - file
Cache stringPath
- data
Repository StringPath - file
Cache StringPath
FileCacheLifecycle
The lifecycle status of the cache
| Name | Value |
|---|---|
| Available | AVAILABLE |
| Creating | CREATING |
| Deleting | DELETING |
| Updating | UPDATING |
| Failed | FAILED |
| Name | Value |
|---|---|
| File | AVAILABLE |
| File | CREATING |
| File | DELETING |
| File | UPDATING |
| File | FAILED |
| Value |
|---|
AVAILABLE |
CREATING |
DELETING |
UPDATING |
FAILED |
| Name | Value |
|---|---|
| Available | AVAILABLE |
| Creating | CREATING |
| Deleting | DELETING |
| Updating | UPDATING |
| Failed | FAILED |
| Name | Value |
|---|---|
| Available | AVAILABLE |
| Creating | CREATING |
| Deleting | DELETING |
| Updating | UPDATING |
| Failed | FAILED |
| Name | Value |
|---|---|
| AVAILABLE | AVAILABLE |
| CREATING | CREATING |
| DELETING | DELETING |
| UPDATING | UPDATING |
| FAILED | FAILED |
| Value |
|---|
AVAILABLE |
CREATING |
DELETING |
UPDATING |
FAILED |
FileCacheLogConfiguration, FileCacheLogConfigurationArgs
FileCacheLogConfigurationLevel
| Name | Value |
|---|---|
| Disabled | DISABLED |
| Warn | WARN_ONLY |
| Error | ERROR_ONLY |
| Warn | WARN_ERROR |
| Name | Value |
|---|---|
| File | DISABLED |
| File | WARN_ONLY |
| File | ERROR_ONLY |
| File | WARN_ERROR |
| Value |
|---|
DISABLED |
WARN_ONLY |
ERROR_ONLY |
WARN_ERROR |
| Name | Value |
|---|---|
| Disabled | DISABLED |
| Warn | WARN_ONLY |
| Error | ERROR_ONLY |
| Warn | WARN_ERROR |
| Name | Value |
|---|---|
| Disabled | DISABLED |
| Warn | WARN_ONLY |
| Error | ERROR_ONLY |
| Warn | WARN_ERROR |
| Name | Value |
|---|---|
| DISABLED | DISABLED |
| WARN_ONLY | WARN_ONLY |
| ERROR_ONLY | ERROR_ONLY |
| WARN_ERROR | WARN_ERROR |
| Value |
|---|
DISABLED |
WARN_ONLY |
ERROR_ONLY |
WARN_ERROR |
FileCacheLustreConfiguration, FileCacheLustreConfigurationArgs
- Deployment
Type Pulumi.Aws Native. FSx. File Cache Lustre Configuration Deployment Type - Metadata
Configuration Pulumi.Aws Native. FSx. Inputs. File Cache Metadata Configuration - Per
Unit intStorage Throughput - Log
Configuration Pulumi.Aws Native. FSx. Inputs. File Cache Log Configuration - Mount
Name string - Weekly
Maintenance stringStart Time
FileCacheLustreConfigurationDeploymentType
| Name | Value |
|---|---|
| Cache1 | CACHE_1 |
| Name | Value |
|---|---|
| File | CACHE_1 |
| Value |
|---|
CACHE_1 |
| Name | Value |
|---|---|
| Cache1 | CACHE_1 |
| Name | Value |
|---|---|
| Cache1 | CACHE_1 |
| Name | Value |
|---|---|
| CACHE1 | CACHE_1 |
| Value |
|---|
CACHE_1 |
FileCacheMetadataConfiguration, FileCacheMetadataConfigurationArgs
- Storage
Capacity int
- Storage
Capacity int
- storage_
capacity number
- storage
Capacity Integer
- storage
Capacity number
- storage_
capacity int
- storage
Capacity Number
FileCacheType
The type of cache, which must be LUSTRE
| Name | Value |
|---|---|
| Lustre | LUSTRE |
| Name | Value |
|---|---|
| File | LUSTRE |
| Value |
|---|
LUSTRE |
| Name | Value |
|---|---|
| Lustre | LUSTRE |
| Name | Value |
|---|---|
| Lustre | LUSTRE |
| Name | Value |
|---|---|
| LUSTRE | LUSTRE |
| Value |
|---|
LUSTRE |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi