# CustomFileSystemConfigProperty

The settings for assigning a custom file system to a user profile or space for an Amazon SageMaker AI Domain.

Permitted users can access this file system in Amazon SageMaker AI Studio.

- Source: Generated at build time
- Type last changed: v2.211.0 · 13 Aug 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const customFileSystemConfigProperty: sagemaker.CfnUserProfile.CustomFileSystemConfigProperty = {
  efsFileSystemConfig: {
    fileSystemId: 'fileSystemId',

    // the properties below are optional
    fileSystemPath: 'fileSystemPath',
  },
  fSxLustreFileSystemConfig: {
    fileSystemId: 'fileSystemId',

    // the properties below are optional
    fileSystemPath: 'fileSystemPath',
  },
  s3FileSystemConfig: {
    mountPath: 'mountPath',
    s3Uri: 's3Uri',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

custom_file_system_config_property = sagemaker.CfnUserProfile.CustomFileSystemConfigProperty(
    efs_file_system_config=sagemaker.CfnUserProfile.EFSFileSystemConfigProperty(
        file_system_id="fileSystemId",

        # the properties below are optional
        file_system_path="fileSystemPath"
    ),
    f_sx_lustre_file_system_config=sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty(
        file_system_id="fileSystemId",

        # the properties below are optional
        file_system_path="fileSystemPath"
    ),
    s3_file_system_config=sagemaker.CfnUserProfile.S3FileSystemConfigProperty(
        mount_path="mountPath",
        s3_uri="s3Uri"
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

CustomFileSystemConfigProperty customFileSystemConfigProperty = CustomFileSystemConfigProperty.builder()
        .efsFileSystemConfig(EFSFileSystemConfigProperty.builder()
                .fileSystemId("fileSystemId")

                // the properties below are optional
                .fileSystemPath("fileSystemPath")
                .build())
        .fSxLustreFileSystemConfig(FSxLustreFileSystemConfigProperty.builder()
                .fileSystemId("fileSystemId")

                // the properties below are optional
                .fileSystemPath("fileSystemPath")
                .build())
        .s3FileSystemConfig(S3FileSystemConfigProperty.builder()
                .mountPath("mountPath")
                .s3Uri("s3Uri")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var customFileSystemConfigProperty = new CustomFileSystemConfigProperty {
    EfsFileSystemConfig = new EFSFileSystemConfigProperty {
        FileSystemId = "fileSystemId",

        // the properties below are optional
        FileSystemPath = "fileSystemPath"
    },
    FSxLustreFileSystemConfig = new FSxLustreFileSystemConfigProperty {
        FileSystemId = "fileSystemId",

        // the properties below are optional
        FileSystemPath = "fileSystemPath"
    },
    S3FileSystemConfig = new S3FileSystemConfigProperty {
        MountPath = "mountPath",
        S3Uri = "s3Uri"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

customFileSystemConfigProperty := &CustomFileSystemConfigProperty{
	EfsFileSystemConfig: &EFSFileSystemConfigProperty{
		FileSystemId: jsii.String("fileSystemId"),

		// the properties below are optional
		FileSystemPath: jsii.String("fileSystemPath"),
	},
	FSxLustreFileSystemConfig: &FSxLustreFileSystemConfigProperty{
		FileSystemId: jsii.String("fileSystemId"),

		// the properties below are optional
		FileSystemPath: jsii.String("fileSystemPath"),
	},
	S3FileSystemConfig: &S3FileSystemConfigProperty{
		MountPath: jsii.String("mountPath"),
		S3Uri: jsii.String("s3Uri"),
	},
}
```

## Properties

- `efsFileSystemConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.EFSFileSystemConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.EFSFileSystemConfigProperty.html) — The settings for a custom Amazon EFS file system.

- `fSxLustreFileSystemConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.FSxLustreFileSystemConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.FSxLustreFileSystemConfigProperty.html) — The settings for a custom Amazon FSx for Lustre file system.

- `s3FileSystemConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.S3FileSystemConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.S3FileSystemConfigProperty.html) — Configuration settings for a custom Amazon S3 file system.
