# FSxWindowsFileServerVolumeConfigurationProperty

This parameter is specified when you're using [Amazon FSx for Windows File Server](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) file system for task storage.

For more information and the input format, see [Amazon FSx for Windows File Server volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide* .

- Source: Generated code
- Type last changed: v2.138.0 · 18 Apr 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const fSxWindowsFileServerVolumeConfigurationProperty: ecs.CfnTaskDefinition.FSxWindowsFileServerVolumeConfigurationProperty = {
  fileSystemId: 'fileSystemId',
  rootDirectory: 'rootDirectory',

  // the properties below are optional
  authorizationConfig: {
    credentialsParameter: 'credentialsParameter',
    domain: 'domain',
  },
};
```

## Properties

- `authorizationConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTaskDefinition.FSxAuthorizationConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.CfnTaskDefinition.FSxAuthorizationConfigProperty.html) — The authorization configuration details for the Amazon FSx for Windows File Server file system.

- `fileSystemId`: string (required) — The Amazon FSx for Windows File Server file system ID to use.

- `rootDirectory`: string (required) — The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
