AWS v6.73.0 published on Wednesday, Mar 19, 2025 by Pulumi
aws.fsx.getWindowsFileSystem
Explore with Pulumi AI
Retrieve information on FSx Windows File System.
Example Usage
Root volume Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.fsx.getWindowsFileSystem({
    id: "fs-12345678",
});
import pulumi
import pulumi_aws as aws
example = aws.fsx.get_windows_file_system(id="fs-12345678")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fsx.LookupWindowsFileSystem(ctx, &fsx.LookupWindowsFileSystemArgs{
			Id: "fs-12345678",
		}, 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.Fsx.GetWindowsFileSystem.Invoke(new()
    {
        Id = "fs-12345678",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.fsx.FsxFunctions;
import com.pulumi.aws.fsx.inputs.GetWindowsFileSystemArgs;
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 = FsxFunctions.getWindowsFileSystem(GetWindowsFileSystemArgs.builder()
            .id("fs-12345678")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:fsx:getWindowsFileSystem
      arguments:
        id: fs-12345678
Using getWindowsFileSystem
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 getWindowsFileSystem(args: GetWindowsFileSystemArgs, opts?: InvokeOptions): Promise<GetWindowsFileSystemResult>
function getWindowsFileSystemOutput(args: GetWindowsFileSystemOutputArgs, opts?: InvokeOptions): Output<GetWindowsFileSystemResult>def get_windows_file_system(id: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetWindowsFileSystemResult
def get_windows_file_system_output(id: Optional[pulumi.Input[str]] = None,
                            tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetWindowsFileSystemResult]func LookupWindowsFileSystem(ctx *Context, args *LookupWindowsFileSystemArgs, opts ...InvokeOption) (*LookupWindowsFileSystemResult, error)
func LookupWindowsFileSystemOutput(ctx *Context, args *LookupWindowsFileSystemOutputArgs, opts ...InvokeOption) LookupWindowsFileSystemResultOutput> Note: This function is named LookupWindowsFileSystem in the Go SDK.
public static class GetWindowsFileSystem 
{
    public static Task<GetWindowsFileSystemResult> InvokeAsync(GetWindowsFileSystemArgs args, InvokeOptions? opts = null)
    public static Output<GetWindowsFileSystemResult> Invoke(GetWindowsFileSystemInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWindowsFileSystemResult> getWindowsFileSystem(GetWindowsFileSystemArgs args, InvokeOptions options)
public static Output<GetWindowsFileSystemResult> getWindowsFileSystem(GetWindowsFileSystemArgs args, InvokeOptions options)
fn::invoke:
  function: aws:fsx/getWindowsFileSystem:getWindowsFileSystem
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- Identifier of the file system (e.g. fs-12345678).
- Dictionary<string, string>
- The tags to associate with the file system.
- Id string
- Identifier of the file system (e.g. fs-12345678).
- map[string]string
- The tags to associate with the file system.
- id String
- Identifier of the file system (e.g. fs-12345678).
- Map<String,String>
- The tags to associate with the file system.
- id string
- Identifier of the file system (e.g. fs-12345678).
- {[key: string]: string}
- The tags to associate with the file system.
- id str
- Identifier of the file system (e.g. fs-12345678).
- Mapping[str, str]
- The tags to associate with the file system.
- id String
- Identifier of the file system (e.g. fs-12345678).
- Map<String>
- The tags to associate with the file system.
getWindowsFileSystem Result
The following output properties are available:
- ActiveDirectory stringId 
- The ID for Microsoft Active Directory instance that the file system is join to.
- Aliases List<string>
- An array DNS alias names associated with the Amazon FSx file system.
- Arn string
- Amazon Resource Name of the file system.
- AuditLog List<GetConfigurations Windows File System Audit Log Configuration> 
- The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- AutomaticBackup intRetention Days 
- The number of days to retain automatic backups.
- BackupId string
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups.
- DailyAutomatic stringBackup Start Time 
- The preferred time (in HH:MMformat) to take daily automatic backups, in the UTC time zone.
- DeploymentType string
- The file system deployment type.
- DiskIops List<GetConfigurations Windows File System Disk Iops Configuration> 
- The SSD IOPS configuration for the file system.
- DnsName string
- DNS name for the file system (e.g. fs-12345678.corp.example.com).
- Id string
- Identifier of the file system (e.g. fs-12345678).
- KmsKey stringId 
- ARN for the KMS Key to encrypt the file system at rest.
- NetworkInterface List<string>Ids 
- OwnerId string
- AWS account identifier that created the file system.
- PreferredFile stringServer Ip 
- The IP address of the primary, or preferred, file server.
- PreferredSubnet stringId 
- Specifies the subnet in which you want the preferred file server to be located.
- SecurityGroup List<string>Ids 
- SkipFinal boolBackup 
- StorageCapacity int
- The storage capacity of the file system in gibibytes (GiB).
- StorageType string
- The type of storage the file system is using. If set to SSD, the file system uses solid state drive storage. If set toHDD, the file system uses hard disk drive storage.
- SubnetIds List<string>
- Specifies the IDs of the subnets that the file system is accessible from.
- Dictionary<string, string>
- The tags to associate with the file system.
- ThroughputCapacity int
- Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of 8and maximum of2048.
- VpcId string
- The ID of the primary virtual private cloud (VPC) for the file system.
- WeeklyMaintenance stringStart Time 
- The preferred start time (in d:HH:MMformat) to perform weekly maintenance, in the UTC time zone.
- ActiveDirectory stringId 
- The ID for Microsoft Active Directory instance that the file system is join to.
- Aliases []string
- An array DNS alias names associated with the Amazon FSx file system.
- Arn string
- Amazon Resource Name of the file system.
- AuditLog []GetConfigurations Windows File System Audit Log Configuration 
- The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- AutomaticBackup intRetention Days 
- The number of days to retain automatic backups.
- BackupId string
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups.
- DailyAutomatic stringBackup Start Time 
- The preferred time (in HH:MMformat) to take daily automatic backups, in the UTC time zone.
- DeploymentType string
- The file system deployment type.
- DiskIops []GetConfigurations Windows File System Disk Iops Configuration 
- The SSD IOPS configuration for the file system.
- DnsName string
- DNS name for the file system (e.g. fs-12345678.corp.example.com).
- Id string
- Identifier of the file system (e.g. fs-12345678).
- KmsKey stringId 
- ARN for the KMS Key to encrypt the file system at rest.
- NetworkInterface []stringIds 
- OwnerId string
- AWS account identifier that created the file system.
- PreferredFile stringServer Ip 
- The IP address of the primary, or preferred, file server.
- PreferredSubnet stringId 
- Specifies the subnet in which you want the preferred file server to be located.
- SecurityGroup []stringIds 
- SkipFinal boolBackup 
- StorageCapacity int
- The storage capacity of the file system in gibibytes (GiB).
- StorageType string
- The type of storage the file system is using. If set to SSD, the file system uses solid state drive storage. If set toHDD, the file system uses hard disk drive storage.
- SubnetIds []string
- Specifies the IDs of the subnets that the file system is accessible from.
- map[string]string
- The tags to associate with the file system.
- ThroughputCapacity int
- Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of 8and maximum of2048.
- VpcId string
- The ID of the primary virtual private cloud (VPC) for the file system.
- WeeklyMaintenance stringStart Time 
- The preferred start time (in d:HH:MMformat) to perform weekly maintenance, in the UTC time zone.
- activeDirectory StringId 
- The ID for Microsoft Active Directory instance that the file system is join to.
- aliases List<String>
- An array DNS alias names associated with the Amazon FSx file system.
- arn String
- Amazon Resource Name of the file system.
- auditLog List<GetConfigurations Windows File System Audit Log Configuration> 
- The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automaticBackup IntegerRetention Days 
- The number of days to retain automatic backups.
- backupId String
- Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups.
- dailyAutomatic StringBackup Start Time 
- The preferred time (in HH:MMformat) to take daily automatic backups, in the UTC time zone.
- deploymentType String
- The file system deployment type.
- diskIops List<GetConfigurations Windows File System Disk Iops Configuration> 
- The SSD IOPS configuration for the file system.
- dnsName String
- DNS name for the file system (e.g. fs-12345678.corp.example.com).
- id String
- Identifier of the file system (e.g. fs-12345678).
- kmsKey StringId 
- ARN for the KMS Key to encrypt the file system at rest.
- networkInterface List<String>Ids 
- ownerId String
- AWS account identifier that created the file system.
- preferredFile StringServer Ip 
- The IP address of the primary, or preferred, file server.
- preferredSubnet StringId 
- Specifies the subnet in which you want the preferred file server to be located.
- securityGroup List<String>Ids 
- skipFinal BooleanBackup 
- storageCapacity Integer
- The storage capacity of the file system in gibibytes (GiB).
- storageType String
- The type of storage the file system is using. If set to SSD, the file system uses solid state drive storage. If set toHDD, the file system uses hard disk drive storage.
- subnetIds List<String>
- Specifies the IDs of the subnets that the file system is accessible from.
- Map<String,String>
- The tags to associate with the file system.
- throughputCapacity Integer
- Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of 8and maximum of2048.
- vpcId String
- The ID of the primary virtual private cloud (VPC) for the file system.
- weeklyMaintenance StringStart Time 
- The preferred start time (in d:HH:MMformat) to perform weekly maintenance, in the UTC time zone.
- activeDirectory stringId 
- The ID for Microsoft Active Directory instance that the file system is join to.
- aliases string[]
- An array DNS alias names associated with the Amazon FSx file system.
- arn string
- Amazon Resource Name of the file system.
- auditLog GetConfigurations Windows File System Audit Log Configuration[] 
- The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automaticBackup numberRetention Days 
- The number of days to retain automatic backups.
- backupId string
- boolean
- A boolean flag indicating whether tags on the file system should be copied to backups.
- dailyAutomatic stringBackup Start Time 
- The preferred time (in HH:MMformat) to take daily automatic backups, in the UTC time zone.
- deploymentType string
- The file system deployment type.
- diskIops GetConfigurations Windows File System Disk Iops Configuration[] 
- The SSD IOPS configuration for the file system.
- dnsName string
- DNS name for the file system (e.g. fs-12345678.corp.example.com).
- id string
- Identifier of the file system (e.g. fs-12345678).
- kmsKey stringId 
- ARN for the KMS Key to encrypt the file system at rest.
- networkInterface string[]Ids 
- ownerId string
- AWS account identifier that created the file system.
- preferredFile stringServer Ip 
- The IP address of the primary, or preferred, file server.
- preferredSubnet stringId 
- Specifies the subnet in which you want the preferred file server to be located.
- securityGroup string[]Ids 
- skipFinal booleanBackup 
- storageCapacity number
- The storage capacity of the file system in gibibytes (GiB).
- storageType string
- The type of storage the file system is using. If set to SSD, the file system uses solid state drive storage. If set toHDD, the file system uses hard disk drive storage.
- subnetIds string[]
- Specifies the IDs of the subnets that the file system is accessible from.
- {[key: string]: string}
- The tags to associate with the file system.
- throughputCapacity number
- Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of 8and maximum of2048.
- vpcId string
- The ID of the primary virtual private cloud (VPC) for the file system.
- weeklyMaintenance stringStart Time 
- The preferred start time (in d:HH:MMformat) to perform weekly maintenance, in the UTC time zone.
- active_directory_ strid 
- The ID for Microsoft Active Directory instance that the file system is join to.
- aliases Sequence[str]
- An array DNS alias names associated with the Amazon FSx file system.
- arn str
- Amazon Resource Name of the file system.
- audit_log_ Sequence[Getconfigurations Windows File System Audit Log Configuration] 
- The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automatic_backup_ intretention_ days 
- The number of days to retain automatic backups.
- backup_id str
- bool
- A boolean flag indicating whether tags on the file system should be copied to backups.
- daily_automatic_ strbackup_ start_ time 
- The preferred time (in HH:MMformat) to take daily automatic backups, in the UTC time zone.
- deployment_type str
- The file system deployment type.
- disk_iops_ Sequence[Getconfigurations Windows File System Disk Iops Configuration] 
- The SSD IOPS configuration for the file system.
- dns_name str
- DNS name for the file system (e.g. fs-12345678.corp.example.com).
- id str
- Identifier of the file system (e.g. fs-12345678).
- kms_key_ strid 
- ARN for the KMS Key to encrypt the file system at rest.
- network_interface_ Sequence[str]ids 
- owner_id str
- AWS account identifier that created the file system.
- preferred_file_ strserver_ ip 
- The IP address of the primary, or preferred, file server.
- preferred_subnet_ strid 
- Specifies the subnet in which you want the preferred file server to be located.
- security_group_ Sequence[str]ids 
- skip_final_ boolbackup 
- storage_capacity int
- The storage capacity of the file system in gibibytes (GiB).
- storage_type str
- The type of storage the file system is using. If set to SSD, the file system uses solid state drive storage. If set toHDD, the file system uses hard disk drive storage.
- subnet_ids Sequence[str]
- Specifies the IDs of the subnets that the file system is accessible from.
- Mapping[str, str]
- The tags to associate with the file system.
- throughput_capacity int
- Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of 8and maximum of2048.
- vpc_id str
- The ID of the primary virtual private cloud (VPC) for the file system.
- weekly_maintenance_ strstart_ time 
- The preferred start time (in d:HH:MMformat) to perform weekly maintenance, in the UTC time zone.
- activeDirectory StringId 
- The ID for Microsoft Active Directory instance that the file system is join to.
- aliases List<String>
- An array DNS alias names associated with the Amazon FSx file system.
- arn String
- Amazon Resource Name of the file system.
- auditLog List<Property Map>Configurations 
- The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
- automaticBackup NumberRetention Days 
- The number of days to retain automatic backups.
- backupId String
- Boolean
- A boolean flag indicating whether tags on the file system should be copied to backups.
- dailyAutomatic StringBackup Start Time 
- The preferred time (in HH:MMformat) to take daily automatic backups, in the UTC time zone.
- deploymentType String
- The file system deployment type.
- diskIops List<Property Map>Configurations 
- The SSD IOPS configuration for the file system.
- dnsName String
- DNS name for the file system (e.g. fs-12345678.corp.example.com).
- id String
- Identifier of the file system (e.g. fs-12345678).
- kmsKey StringId 
- ARN for the KMS Key to encrypt the file system at rest.
- networkInterface List<String>Ids 
- ownerId String
- AWS account identifier that created the file system.
- preferredFile StringServer Ip 
- The IP address of the primary, or preferred, file server.
- preferredSubnet StringId 
- Specifies the subnet in which you want the preferred file server to be located.
- securityGroup List<String>Ids 
- skipFinal BooleanBackup 
- storageCapacity Number
- The storage capacity of the file system in gibibytes (GiB).
- storageType String
- The type of storage the file system is using. If set to SSD, the file system uses solid state drive storage. If set toHDD, the file system uses hard disk drive storage.
- subnetIds List<String>
- Specifies the IDs of the subnets that the file system is accessible from.
- Map<String>
- The tags to associate with the file system.
- throughputCapacity Number
- Throughput (megabytes per second) of the file system in power of 2 increments. Minimum of 8and maximum of2048.
- vpcId String
- The ID of the primary virtual private cloud (VPC) for the file system.
- weeklyMaintenance StringStart Time 
- The preferred start time (in d:HH:MMformat) to perform weekly maintenance, in the UTC time zone.
Supporting Types
GetWindowsFileSystemAuditLogConfiguration      
- AuditLog stringDestination 
- FileAccess stringAudit Log Level 
- string
- AuditLog stringDestination 
- FileAccess stringAudit Log Level 
- string
- auditLog StringDestination 
- fileAccess StringAudit Log Level 
- String
- auditLog stringDestination 
- fileAccess stringAudit Log Level 
- string
- audit_log_ strdestination 
- file_access_ straudit_ log_ level 
- str
- auditLog StringDestination 
- fileAccess StringAudit Log Level 
- String
GetWindowsFileSystemDiskIopsConfiguration      
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.