Skip to content
v2.278.0

CustomFileSystemProperty Struct ​

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.

Example ​

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
# 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
// 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();
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"
    }
};
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 ​

efsFileSystemoptionalIResolvable | CfnSpace.EFSFileSystemPropertyefs_file_systemoptionaltyping.Union[IResolvable, EFSFileSystemProperty]efsFileSystemoptionalIResolvableEfsFileSystemoptionalIResolvableEfsFileSystemoptionalinterface{} #
A custom file system in Amazon EFS.
fSxLustreFileSystemoptionalIResolvable | CfnSpace.FSxLustreFileSystemPropertyf_sx_lustre_file_systemoptionaltyping.Union[IResolvable, FSxLustreFileSystemProperty]fSxLustreFileSystemoptionalIResolvableFSxLustreFileSystemoptionalIResolvableFSxLustreFileSystemoptionalinterface{} #
A custom file system in Amazon FSx for Lustre.
s3FileSystemoptionalIResolvable | CfnSpace.S3FileSystemPropertys3_file_systemoptionaltyping.Union[IResolvable, S3FileSystemProperty]s3FileSystemoptionalIResolvableS3FileSystemoptionalIResolvableS3FileSystemoptionalinterface{} #
A custom file system in Amazon S3.

This is only supported in Amazon SageMaker Unified Studio.