1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. fsx
  6. getFileCache

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi

    Resource Type definition for AWS::FSx::FileCache

    Using getFileCache

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFileCache(args: GetFileCacheArgs, opts?: InvokeOptions): Promise<GetFileCacheResult>
    function getFileCacheOutput(args: GetFileCacheOutputArgs, opts?: InvokeOutputOptions): Output<GetFileCacheResult>
    def get_file_cache(resource_arn: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetFileCacheResult
    def get_file_cache_output(resource_arn: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetFileCacheResult]
    func LookupFileCache(ctx *Context, args *LookupFileCacheArgs, opts ...InvokeOption) (*LookupFileCacheResult, error)
    func LookupFileCacheOutput(ctx *Context, args *LookupFileCacheOutputArgs, opts ...InvokeOption) LookupFileCacheResultOutput

    > Note: This function is named LookupFileCache in the Go SDK.

    public static class GetFileCache 
    {
        public static Task<GetFileCacheResult> InvokeAsync(GetFileCacheArgs args, InvokeOptions? opts = null)
        public static Output<GetFileCacheResult> Invoke(GetFileCacheInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetFileCacheResult> Invoke(GetFileCacheInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetFileCacheResult> getFileCache(GetFileCacheArgs args, InvokeOptions options)
    public static Output<GetFileCacheResult> getFileCache(GetFileCacheArgs args, InvokeOptions options)
    public static Output<GetFileCacheResult> getFileCache(GetFileCacheArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:fsx:getFileCache
      arguments:
        # arguments dictionary
    data "aws-native_fsx_get_file_cache" "name" {
        # arguments
    }

    The following arguments are supported:

    ResourceArn string
    The Amazon Resource Name (ARN) of the file cache
    ResourceArn string
    The Amazon Resource Name (ARN) of the file cache
    resource_arn string
    The Amazon Resource Name (ARN) of the file cache
    resourceArn String
    The Amazon Resource Name (ARN) of the file cache
    resourceArn string
    The Amazon Resource Name (ARN) of the file cache
    resource_arn str
    The Amazon Resource Name (ARN) of the file cache
    resourceArn String
    The Amazon Resource Name (ARN) of the file cache

    getFileCache Result

    The following output properties are available:

    CreationTime string
    The time the cache was created
    DataRepositoryAssociationIds List<string>
    A list of IDs of data repository associations that are associated with this cache
    DnsName string
    The DNS name for the cache
    FileCacheId string
    The ID of the file cache
    Lifecycle Pulumi.AwsNative.FSx.FileCacheLifecycle
    The lifecycle status of the cache
    LustreConfiguration Pulumi.AwsNative.FSx.Outputs.FileCacheLustreConfiguration
    The Lustre configuration for the file cache
    NetworkInterfaceIds List<string>
    Network interface IDs for the cache
    OwnerId string
    The AWS account ID of the cache owner
    ResourceArn string
    The Amazon Resource Name (ARN) of the file cache
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags to associate with the file cache
    VpcId string
    The VPC ID of the cache
    CreationTime string
    The time the cache was created
    DataRepositoryAssociationIds []string
    A list of IDs of data repository associations that are associated with this cache
    DnsName string
    The DNS name for the cache
    FileCacheId string
    The ID of the file cache
    Lifecycle FileCacheLifecycle
    The lifecycle status of the cache
    LustreConfiguration FileCacheLustreConfiguration
    The Lustre configuration for the file cache
    NetworkInterfaceIds []string
    Network interface IDs for the cache
    OwnerId string
    The AWS account ID of the cache owner
    ResourceArn string
    The Amazon Resource Name (ARN) of the file cache
    Tags Tag
    Tags to associate with the file cache
    VpcId string
    The VPC ID of the cache
    creation_time string
    The time the cache was created
    data_repository_association_ids list(string)
    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_id string
    The ID of the file cache
    lifecycle "AVAILABLE" | "CREATING" | "DELETING" | "UPDATING" | "FAILED"
    The lifecycle status of the cache
    lustre_configuration object
    The Lustre configuration for the file cache
    network_interface_ids list(string)
    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
    tags list(object)
    Tags to associate with the file cache
    vpc_id string
    The VPC ID of the cache
    creationTime String
    The time the cache was created
    dataRepositoryAssociationIds List<String>
    A list of IDs of data repository associations that are associated with this cache
    dnsName String
    The DNS name for the cache
    fileCacheId String
    The ID of the file cache
    lifecycle FileCacheLifecycle
    The lifecycle status of the cache
    lustreConfiguration FileCacheLustreConfiguration
    The Lustre configuration for the file cache
    networkInterfaceIds List<String>
    Network interface IDs for the cache
    ownerId String
    The AWS account ID of the cache owner
    resourceArn String
    The Amazon Resource Name (ARN) of the file cache
    tags List<Tag>
    Tags to associate with the file cache
    vpcId String
    The VPC ID of the cache
    creationTime string
    The time the cache was created
    dataRepositoryAssociationIds string[]
    A list of IDs of data repository associations that are associated with this cache
    dnsName string
    The DNS name for the cache
    fileCacheId string
    The ID of the file cache
    lifecycle FileCacheLifecycle
    The lifecycle status of the cache
    lustreConfiguration FileCacheLustreConfiguration
    The Lustre configuration for the file cache
    networkInterfaceIds string[]
    Network interface IDs for the cache
    ownerId string
    The AWS account ID of the cache owner
    resourceArn string
    The Amazon Resource Name (ARN) of the file cache
    tags Tag[]
    Tags to associate with the file cache
    vpcId string
    The VPC ID of the cache
    creation_time str
    The time the cache was created
    data_repository_association_ids Sequence[str]
    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_id str
    The ID of the file cache
    lifecycle FileCacheLifecycle
    The lifecycle status of the cache
    lustre_configuration FileCacheLustreConfiguration
    The Lustre configuration for the file cache
    network_interface_ids Sequence[str]
    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
    tags Sequence[root_Tag]
    Tags to associate with the file cache
    vpc_id str
    The VPC ID of the cache
    creationTime String
    The time the cache was created
    dataRepositoryAssociationIds List<String>
    A list of IDs of data repository associations that are associated with this cache
    dnsName String
    The DNS name for the cache
    fileCacheId String
    The ID of the file cache
    lifecycle "AVAILABLE" | "CREATING" | "DELETING" | "UPDATING" | "FAILED"
    The lifecycle status of the cache
    lustreConfiguration Property Map
    The Lustre configuration for the file cache
    networkInterfaceIds List<String>
    Network interface IDs for the cache
    ownerId String
    The AWS account ID of the cache owner
    resourceArn String
    The Amazon Resource Name (ARN) of the file cache
    tags List<Property Map>
    Tags to associate with the file cache
    vpcId String
    The VPC ID of the cache

    Supporting Types

    FileCacheLifecycle

    FileCacheLogConfiguration

    FileCacheLogConfigurationLevel

    FileCacheLustreConfiguration

    FileCacheLustreConfigurationDeploymentType

    FileCacheMetadataConfiguration

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial