# CustomFileSystemProperty

A file system, created by you, that you assign 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 customFileSystemProperty: sagemaker.CfnSpace.CustomFileSystemProperty = {
  efsFileSystem: {
    fileSystemId: 'fileSystemId',
  },
  fSxLustreFileSystem: {
    fileSystemId: 'fileSystemId',
  },
  s3FileSystem: {
    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_property = sagemaker.CfnSpace.CustomFileSystemProperty(
    efs_file_system=sagemaker.CfnSpace.EFSFileSystemProperty(
        file_system_id="fileSystemId"
    ),
    f_sx_lustre_file_system=sagemaker.CfnSpace.FSxLustreFileSystemProperty(
        file_system_id="fileSystemId"
    ),
    s3_file_system=sagemaker.CfnSpace.S3FileSystemProperty(
        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.*;

CustomFileSystemProperty customFileSystemProperty = CustomFileSystemProperty.builder()
        .efsFileSystem(EFSFileSystemProperty.builder()
                .fileSystemId("fileSystemId")
                .build())
        .fSxLustreFileSystem(FSxLustreFileSystemProperty.builder()
                .fileSystemId("fileSystemId")
                .build())
        .s3FileSystem(S3FileSystemProperty.builder()
                .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 customFileSystemProperty = new CustomFileSystemProperty {
    EfsFileSystem = new EFSFileSystemProperty {
        FileSystemId = "fileSystemId"
    },
    FSxLustreFileSystem = new FSxLustreFileSystemProperty {
        FileSystemId = "fileSystemId"
    },
    S3FileSystem = new S3FileSystemProperty {
        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"

customFileSystemProperty := &CustomFileSystemProperty{
	EfsFileSystem: &EFSFileSystemProperty{
		FileSystemId: jsii.String("fileSystemId"),
	},
	FSxLustreFileSystem: &FSxLustreFileSystemProperty{
		FileSystemId: jsii.String("fileSystemId"),
	},
	S3FileSystem: &S3FileSystemProperty{
		S3Uri: jsii.String("s3Uri"),
	},
}
```

## Properties

- `efsFileSystem`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSpace.EFSFileSystemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnSpace.EFSFileSystemProperty.html) — A custom file system in Amazon EFS.

- `fSxLustreFileSystem`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSpace.FSxLustreFileSystemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnSpace.FSxLustreFileSystemProperty.html) — A custom file system in Amazon FSx for Lustre.

- `s3FileSystem`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSpace.S3FileSystemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnSpace.S3FileSystemProperty.html) — A custom file system in Amazon S3.

  This is only supported in Amazon SageMaker Unified Studio.
