FileSystemConfigProperty Struct
The Amazon Elastic File System storage configuration for a SageMaker AI image.
| Source | |
|---|---|
| Type last changed |
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 fileSystemConfigProperty: sagemaker.CfnAppImageConfig.FileSystemConfigProperty = {
defaultGid: 123,
defaultUid: 123,
mountPath: 'mountPath',
};
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
file_system_config_property = sagemaker.CfnAppImageConfig.FileSystemConfigProperty(
default_gid=123,
default_uid=123,
mount_path="mountPath"
)
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.*;
FileSystemConfigProperty fileSystemConfigProperty = FileSystemConfigProperty.builder()
.defaultGid(123)
.defaultUid(123)
.mountPath("mountPath")
.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 fileSystemConfigProperty = new FileSystemConfigProperty {
DefaultGid = 123,
DefaultUid = 123,
MountPath = "mountPath"
};
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"
fileSystemConfigProperty := &FileSystemConfigProperty{
DefaultGid: jsii.Number(123),
DefaultUid: jsii.Number(123),
MountPath: jsii.String("mountPath"),
}
Properties
defaultGidoptionalnumberdefault_gidoptionalint | floatdefaultGidoptionalNumberDefaultGidoptionaldoubleDefaultGidoptional*float64 #The default POSIX group ID (GID).
If not specified, defaults to 100 .
defaultUidoptionalnumberdefault_uidoptionalint | floatdefaultUidoptionalNumberDefaultUidoptionaldoubleDefaultUidoptional*float64 #The default POSIX user ID (UID).
If not specified, defaults to 1000 .
mountPathoptionalstringmount_pathoptionalstrmountPathoptionalStringMountPathoptionalstringMountPathoptional*string #The path within the image to mount the user's EFS home directory.
The directory should be empty. If not specified, defaults to * /home/sagemaker-user* .