Skip to content
v2.273.0

FSxWindowsFileServerVolumeConfigurationProperty Struct ​

This parameter is specified when you're using Amazon FSx for Windows File Server file system for task storage.

For more information and the input format, see Amazon FSx for Windows File Server volumes in the Amazon Elastic Container Service Developer Guide .

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 ​

authorizationConfigIResolvable | CfnTaskDefinition.FSxAuthorizationConfigPropertyauthorization_configtyping.Union[IResolvable, FSxAuthorizationConfigProperty]authorizationConfigIResolvableAuthorizationConfigIResolvableAuthorizationConfiginterface{}#
The authorization configuration details for the Amazon FSx for Windows File Server file system.
fileSystemIdstringfile_system_idstrfileSystemIdStringFileSystemIdstringFileSystemId*stringrequired#
The Amazon FSx for Windows File Server file system ID to use.
rootDirectorystringroot_directorystrrootDirectoryStringRootDirectorystringRootDirectory*stringrequired#
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.