We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 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
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, FileCacheLifecycleArgs
- Available
AVAILABLE- Creating
CREATING- Deleting
DELETING- Updating
UPDATING- Failed
FAILED
- File
Cache Lifecycle Available AVAILABLE- File
Cache Lifecycle Creating CREATING- File
Cache Lifecycle Deleting DELETING- File
Cache Lifecycle Updating UPDATING- File
Cache Lifecycle Failed FAILED
- "AVAILABLE"
AVAILABLE- "CREATING"
CREATING- "DELETING"
DELETING- "UPDATING"
UPDATING- "FAILED"
FAILED
- Available
AVAILABLE- Creating
CREATING- Deleting
DELETING- Updating
UPDATING- Failed
FAILED
- Available
AVAILABLE- Creating
CREATING- Deleting
DELETING- Updating
UPDATING- Failed
FAILED
- AVAILABLE
AVAILABLE- CREATING
CREATING- DELETING
DELETING- UPDATING
UPDATING- FAILED
FAILED
- "AVAILABLE"
AVAILABLE- "CREATING"
CREATING- "DELETING"
DELETING- "UPDATING"
UPDATING- "FAILED"
FAILED
FileCacheLogConfiguration, FileCacheLogConfigurationArgs
FileCacheLogConfigurationLevel, FileCacheLogConfigurationLevelArgs
- Disabled
DISABLED- Warn
Only WARN_ONLY- Error
Only ERROR_ONLY- Warn
Error WARN_ERROR
- File
Cache Log Configuration Level Disabled DISABLED- File
Cache Log Configuration Level Warn Only WARN_ONLY- File
Cache Log Configuration Level Error Only ERROR_ONLY- File
Cache Log Configuration Level Warn Error WARN_ERROR
- "DISABLED"
DISABLED- "WARN_ONLY"
WARN_ONLY- "ERROR_ONLY"
ERROR_ONLY- "WARN_ERROR"
WARN_ERROR
- Disabled
DISABLED- Warn
Only WARN_ONLY- Error
Only ERROR_ONLY- Warn
Error WARN_ERROR
- Disabled
DISABLED- Warn
Only WARN_ONLY- Error
Only ERROR_ONLY- Warn
Error WARN_ERROR
- DISABLED
DISABLED- WARN_ONLY
WARN_ONLY- ERROR_ONLY
ERROR_ONLY- WARN_ERROR
WARN_ERROR
- "DISABLED"
DISABLED- "WARN_ONLY"
WARN_ONLY- "ERROR_ONLY"
ERROR_ONLY- "WARN_ERROR"
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, FileCacheLustreConfigurationDeploymentTypeArgs
- Cache1
CACHE_1
- File
Cache Lustre Configuration Deployment Type Cache1 CACHE_1
- "CACHE_1"
CACHE_1
- Cache1
CACHE_1
- Cache1
CACHE_1
- CACHE1
CACHE_1
- "CACHE_1"
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, FileCacheTypeArgs
- Lustre
LUSTRE
- File
Cache Type Lustre LUSTRE
- "LUSTRE"
LUSTRE
- Lustre
LUSTRE
- Lustre
LUSTRE
- LUSTRE
LUSTRE
- "LUSTRE"
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 Monday, Sep 28, 2026 by Pulumi