Skip to content
v2.277.0

CustomFileSystemConfigProperty Struct ​

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.

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

efsFileSystemConfigoptionalIResolvable | CfnUserProfile.EFSFileSystemConfigPropertyefs_file_system_configoptionaltyping.Union[IResolvable, EFSFileSystemConfigProperty]efsFileSystemConfigoptionalIResolvableEfsFileSystemConfigoptionalIResolvableEfsFileSystemConfigoptionalinterface{} #
The settings for a custom Amazon EFS file system.
fSxLustreFileSystemConfigoptionalIResolvable | CfnUserProfile.FSxLustreFileSystemConfigPropertyf_sx_lustre_file_system_configoptionaltyping.Union[IResolvable, FSxLustreFileSystemConfigProperty]fSxLustreFileSystemConfigoptionalIResolvableFSxLustreFileSystemConfigoptionalIResolvableFSxLustreFileSystemConfigoptionalinterface{} #
The settings for a custom Amazon FSx for Lustre file system.
s3FileSystemConfigoptionalIResolvable | CfnUserProfile.S3FileSystemConfigPropertys3_file_system_configoptionaltyping.Union[IResolvable, S3FileSystemConfigProperty]s3FileSystemConfigoptionalIResolvableS3FileSystemConfigoptionalIResolvableS3FileSystemConfigoptionalinterface{} #
Configuration settings for a custom Amazon S3 file system.