1. Packages
  2. AWS
  3. API Docs
  4. s3
  5. getFilesFileSystem
Viewing docs for AWS v7.26.0
published on Thursday, Apr 16, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.26.0
published on Thursday, Apr 16, 2026 by Pulumi

    Get information on an S3 Files File System.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.s3.getFilesFileSystem({
        id: "fs-1234567890abcdef0",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.s3.get_files_file_system(id="fs-1234567890abcdef0")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := s3.LookupFilesFileSystem(ctx, &s3.LookupFilesFileSystemArgs{
    			Id: "fs-1234567890abcdef0",
    		}, nil)
    		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 = Aws.S3.GetFilesFileSystem.Invoke(new()
        {
            Id = "fs-1234567890abcdef0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.s3.S3Functions;
    import com.pulumi.aws.s3.inputs.GetFilesFileSystemArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var example = S3Functions.getFilesFileSystem(GetFilesFileSystemArgs.builder()
                .id("fs-1234567890abcdef0")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:s3:getFilesFileSystem
          arguments:
            id: fs-1234567890abcdef0
    

    Using getFilesFileSystem

    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 getFilesFileSystem(args: GetFilesFileSystemArgs, opts?: InvokeOptions): Promise<GetFilesFileSystemResult>
    function getFilesFileSystemOutput(args: GetFilesFileSystemOutputArgs, opts?: InvokeOptions): Output<GetFilesFileSystemResult>
    def get_files_file_system(id: Optional[str] = None,
                              region: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFilesFileSystemResult
    def get_files_file_system_output(id: Optional[pulumi.Input[str]] = None,
                              region: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetFilesFileSystemResult]
    func LookupFilesFileSystem(ctx *Context, args *LookupFilesFileSystemArgs, opts ...InvokeOption) (*LookupFilesFileSystemResult, error)
    func LookupFilesFileSystemOutput(ctx *Context, args *LookupFilesFileSystemOutputArgs, opts ...InvokeOption) LookupFilesFileSystemResultOutput

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

    public static class GetFilesFileSystem 
    {
        public static Task<GetFilesFileSystemResult> InvokeAsync(GetFilesFileSystemArgs args, InvokeOptions? opts = null)
        public static Output<GetFilesFileSystemResult> Invoke(GetFilesFileSystemInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFilesFileSystemResult> getFilesFileSystem(GetFilesFileSystemArgs args, InvokeOptions options)
    public static Output<GetFilesFileSystemResult> getFilesFileSystem(GetFilesFileSystemArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:s3/getFilesFileSystem:getFilesFileSystem
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string

    Identifier of the file system.

    The following arguments are optional:

    Region string
    Region where this data source will be managed. Defaults to the Region set in the provider configuration.
    Id string

    Identifier of the file system.

    The following arguments are optional:

    Region string
    Region where this data source will be managed. Defaults to the Region set in the provider configuration.
    id String

    Identifier of the file system.

    The following arguments are optional:

    region String
    Region where this data source will be managed. Defaults to the Region set in the provider configuration.
    id string

    Identifier of the file system.

    The following arguments are optional:

    region string
    Region where this data source will be managed. Defaults to the Region set in the provider configuration.
    id str

    Identifier of the file system.

    The following arguments are optional:

    region str
    Region where this data source will be managed. Defaults to the Region set in the provider configuration.
    id String

    Identifier of the file system.

    The following arguments are optional:

    region String
    Region where this data source will be managed. Defaults to the Region set in the provider configuration.

    getFilesFileSystem Result

    The following output properties are available:

    Arn string
    ARN of the file system.
    Bucket string
    S3 bucket ARN.
    CreationTime string
    Creation time.
    Id string
    KmsKeyId string
    KMS key ID for encryption.
    Name string
    File system name.
    OwnerId string
    AWS account ID of the owner.
    Prefix string
    S3 bucket prefix.
    Region string
    RoleArn string
    IAM role ARN for S3 access.
    Status string
    File system status.
    StatusMessage string
    Status message.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    Arn string
    ARN of the file system.
    Bucket string
    S3 bucket ARN.
    CreationTime string
    Creation time.
    Id string
    KmsKeyId string
    KMS key ID for encryption.
    Name string
    File system name.
    OwnerId string
    AWS account ID of the owner.
    Prefix string
    S3 bucket prefix.
    Region string
    RoleArn string
    IAM role ARN for S3 access.
    Status string
    File system status.
    StatusMessage string
    Status message.
    Tags map[string]string
    Map of tags assigned to the resource.
    arn String
    ARN of the file system.
    bucket String
    S3 bucket ARN.
    creationTime String
    Creation time.
    id String
    kmsKeyId String
    KMS key ID for encryption.
    name String
    File system name.
    ownerId String
    AWS account ID of the owner.
    prefix String
    S3 bucket prefix.
    region String
    roleArn String
    IAM role ARN for S3 access.
    status String
    File system status.
    statusMessage String
    Status message.
    tags Map<String,String>
    Map of tags assigned to the resource.
    arn string
    ARN of the file system.
    bucket string
    S3 bucket ARN.
    creationTime string
    Creation time.
    id string
    kmsKeyId string
    KMS key ID for encryption.
    name string
    File system name.
    ownerId string
    AWS account ID of the owner.
    prefix string
    S3 bucket prefix.
    region string
    roleArn string
    IAM role ARN for S3 access.
    status string
    File system status.
    statusMessage string
    Status message.
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    arn str
    ARN of the file system.
    bucket str
    S3 bucket ARN.
    creation_time str
    Creation time.
    id str
    kms_key_id str
    KMS key ID for encryption.
    name str
    File system name.
    owner_id str
    AWS account ID of the owner.
    prefix str
    S3 bucket prefix.
    region str
    role_arn str
    IAM role ARN for S3 access.
    status str
    File system status.
    status_message str
    Status message.
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    arn String
    ARN of the file system.
    bucket String
    S3 bucket ARN.
    creationTime String
    Creation time.
    id String
    kmsKeyId String
    KMS key ID for encryption.
    name String
    File system name.
    ownerId String
    AWS account ID of the owner.
    prefix String
    S3 bucket prefix.
    region String
    roleArn String
    IAM role ARN for S3 access.
    status String
    File system status.
    statusMessage String
    Status message.
    tags Map<String>
    Map of tags assigned to the resource.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.26.0
    published on Thursday, Apr 16, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.