# CfnUserProfileProps

Properties for defining a `CfnUserProfile`.

Used as props by: [CfnUserProfile](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.html)

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 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 cfnUserProfileProps: sagemaker.CfnUserProfileProps = {
  domainId: 'domainId',
  userProfileName: 'userProfileName',

  // the properties below are optional
  singleSignOnUserIdentifier: 'singleSignOnUserIdentifier',
  singleSignOnUserValue: 'singleSignOnUserValue',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  userSettings: {
    autoMountHomeEfs: 'autoMountHomeEfs',
    codeEditorAppSettings: {
      appLifecycleManagement: {
        idleSettings: {
          idleTimeoutInMinutes: 123,
          lifecycleManagement: 'lifecycleManagement',
          maxIdleTimeoutInMinutes: 123,
          minIdleTimeoutInMinutes: 123,
        },
      },
      builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    customFileSystemConfigs: [{
      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',
      },
    }],
    customPosixUserConfig: {
      gid: 123,
      uid: 123,
    },
    defaultLandingUri: 'defaultLandingUri',
    executionRole: 'executionRole',
    jupyterLabAppSettings: {
      appLifecycleManagement: {
        idleSettings: {
          idleTimeoutInMinutes: 123,
          lifecycleManagement: 'lifecycleManagement',
          maxIdleTimeoutInMinutes: 123,
          minIdleTimeoutInMinutes: 123,
        },
      },
      builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
      codeRepositories: [{
        repositoryUrl: 'repositoryUrl',
      }],
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      emrSettings: {
        assumableRoleArns: ['assumableRoleArns'],
        executionRoleArns: ['executionRoleArns'],
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    jupyterServerAppSettings: {
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    kernelGatewayAppSettings: {
      customImages: [{
        appImageConfigName: 'appImageConfigName',
        imageName: 'imageName',

        // the properties below are optional
        imageVersionNumber: 123,
      }],
      defaultResourceSpec: {
        instanceType: 'instanceType',
        lifecycleConfigArn: 'lifecycleConfigArn',
        sageMakerImageArn: 'sageMakerImageArn',
        sageMakerImageVersionArn: 'sageMakerImageVersionArn',
        trainingPlanArn: 'trainingPlanArn',
      },
      lifecycleConfigArns: ['lifecycleConfigArns'],
    },
    rStudioServerProAppSettings: {
      accessStatus: 'accessStatus',
      userGroup: 'userGroup',
    },
    securityGroups: ['securityGroups'],
    sharingSettings: {
      notebookOutputOption: 'notebookOutputOption',
      s3KmsKeyId: 's3KmsKeyId',
      s3OutputPath: 's3OutputPath',
    },
    spaceStorageSettings: {
      defaultEbsStorageSettings: {
        defaultEbsVolumeSizeInGb: 123,
        maximumEbsVolumeSizeInGb: 123,
      },
    },
    studioWebPortal: 'studioWebPortal',
    studioWebPortalSettings: {
      hiddenAppTypes: ['hiddenAppTypes'],
      hiddenInstanceTypes: ['hiddenInstanceTypes'],
      hiddenMlTools: ['hiddenMlTools'],
      hiddenSageMakerImageVersionAliases: [{
        sageMakerImageName: 'sageMakerImageName',
        versionAliases: ['versionAliases'],
      }],
    },
  },
};
```

Python:

```python
from aws_cdk import CfnTag
# 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

cfn_user_profile_props = sagemaker.CfnUserProfileProps(
    domain_id="domainId",
    user_profile_name="userProfileName",

    # the properties below are optional
    single_sign_on_user_identifier="singleSignOnUserIdentifier",
    single_sign_on_user_value="singleSignOnUserValue",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    user_settings=sagemaker.CfnUserProfile.UserSettingsProperty(
        auto_mount_home_efs="autoMountHomeEfs",
        code_editor_app_settings=sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty(
            app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
                idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
                    idle_timeout_in_minutes=123,
                    lifecycle_management="lifecycleManagement",
                    max_idle_timeout_in_minutes=123,
                    min_idle_timeout_in_minutes=123
                )
            ),
            built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
            custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        custom_file_system_configs=[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"
            )
        )],
        custom_posix_user_config=sagemaker.CfnUserProfile.CustomPosixUserConfigProperty(
            gid=123,
            uid=123
        ),
        default_landing_uri="defaultLandingUri",
        execution_role="executionRole",
        jupyter_lab_app_settings=sagemaker.CfnUserProfile.JupyterLabAppSettingsProperty(
            app_lifecycle_management=sagemaker.CfnUserProfile.AppLifecycleManagementProperty(
                idle_settings=sagemaker.CfnUserProfile.IdleSettingsProperty(
                    idle_timeout_in_minutes=123,
                    lifecycle_management="lifecycleManagement",
                    max_idle_timeout_in_minutes=123,
                    min_idle_timeout_in_minutes=123
                )
            ),
            built_in_lifecycle_config_arn="builtInLifecycleConfigArn",
            code_repositories=[sagemaker.CfnUserProfile.CodeRepositoryProperty(
                repository_url="repositoryUrl"
            )],
            custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            emr_settings=sagemaker.CfnUserProfile.EmrSettingsProperty(
                assumable_role_arns=["assumableRoleArns"],
                execution_role_arns=["executionRoleArns"]
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        jupyter_server_app_settings=sagemaker.CfnUserProfile.JupyterServerAppSettingsProperty(
            default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        kernel_gateway_app_settings=sagemaker.CfnUserProfile.KernelGatewayAppSettingsProperty(
            custom_images=[sagemaker.CfnUserProfile.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",

                # the properties below are optional
                image_version_number=123
            )],
            default_resource_spec=sagemaker.CfnUserProfile.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn",
                training_plan_arn="trainingPlanArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        r_studio_server_pro_app_settings=sagemaker.CfnUserProfile.RStudioServerProAppSettingsProperty(
            access_status="accessStatus",
            user_group="userGroup"
        ),
        security_groups=["securityGroups"],
        sharing_settings=sagemaker.CfnUserProfile.SharingSettingsProperty(
            notebook_output_option="notebookOutputOption",
            s3_kms_key_id="s3KmsKeyId",
            s3_output_path="s3OutputPath"
        ),
        space_storage_settings=sagemaker.CfnUserProfile.DefaultSpaceStorageSettingsProperty(
            default_ebs_storage_settings=sagemaker.CfnUserProfile.DefaultEbsStorageSettingsProperty(
                default_ebs_volume_size_in_gb=123,
                maximum_ebs_volume_size_in_gb=123
            )
        ),
        studio_web_portal="studioWebPortal",
        studio_web_portal_settings=sagemaker.CfnUserProfile.StudioWebPortalSettingsProperty(
            hidden_app_types=["hiddenAppTypes"],
            hidden_instance_types=["hiddenInstanceTypes"],
            hidden_ml_tools=["hiddenMlTools"],
            hidden_sage_maker_image_version_aliases=[sagemaker.CfnUserProfile.HiddenSageMakerImageProperty(
                sage_maker_image_name="sageMakerImageName",
                version_aliases=["versionAliases"]
            )]
        )
    )
)
```

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.*;

CfnUserProfileProps cfnUserProfileProps = CfnUserProfileProps.builder()
        .domainId("domainId")
        .userProfileName("userProfileName")

        // the properties below are optional
        .singleSignOnUserIdentifier("singleSignOnUserIdentifier")
        .singleSignOnUserValue("singleSignOnUserValue")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .userSettings(UserSettingsProperty.builder()
                .autoMountHomeEfs("autoMountHomeEfs")
                .codeEditorAppSettings(CodeEditorAppSettingsProperty.builder()
                        .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                                .idleSettings(IdleSettingsProperty.builder()
                                        .idleTimeoutInMinutes(123)
                                        .lifecycleManagement("lifecycleManagement")
                                        .maxIdleTimeoutInMinutes(123)
                                        .minIdleTimeoutInMinutes(123)
                                        .build())
                                .build())
                        .builtInLifecycleConfigArn("builtInLifecycleConfigArn")
                        .customImages(List.of(CustomImageProperty.builder()
                                .appImageConfigName("appImageConfigName")
                                .imageName("imageName")

                                // the properties below are optional
                                .imageVersionNumber(123)
                                .build()))
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .customFileSystemConfigs(List.of(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()))
                .customPosixUserConfig(CustomPosixUserConfigProperty.builder()
                        .gid(123)
                        .uid(123)
                        .build())
                .defaultLandingUri("defaultLandingUri")
                .executionRole("executionRole")
                .jupyterLabAppSettings(JupyterLabAppSettingsProperty.builder()
                        .appLifecycleManagement(AppLifecycleManagementProperty.builder()
                                .idleSettings(IdleSettingsProperty.builder()
                                        .idleTimeoutInMinutes(123)
                                        .lifecycleManagement("lifecycleManagement")
                                        .maxIdleTimeoutInMinutes(123)
                                        .minIdleTimeoutInMinutes(123)
                                        .build())
                                .build())
                        .builtInLifecycleConfigArn("builtInLifecycleConfigArn")
                        .codeRepositories(List.of(CodeRepositoryProperty.builder()
                                .repositoryUrl("repositoryUrl")
                                .build()))
                        .customImages(List.of(CustomImageProperty.builder()
                                .appImageConfigName("appImageConfigName")
                                .imageName("imageName")

                                // the properties below are optional
                                .imageVersionNumber(123)
                                .build()))
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .emrSettings(EmrSettingsProperty.builder()
                                .assumableRoleArns(List.of("assumableRoleArns"))
                                .executionRoleArns(List.of("executionRoleArns"))
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .jupyterServerAppSettings(JupyterServerAppSettingsProperty.builder()
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .kernelGatewayAppSettings(KernelGatewayAppSettingsProperty.builder()
                        .customImages(List.of(CustomImageProperty.builder()
                                .appImageConfigName("appImageConfigName")
                                .imageName("imageName")

                                // the properties below are optional
                                .imageVersionNumber(123)
                                .build()))
                        .defaultResourceSpec(ResourceSpecProperty.builder()
                                .instanceType("instanceType")
                                .lifecycleConfigArn("lifecycleConfigArn")
                                .sageMakerImageArn("sageMakerImageArn")
                                .sageMakerImageVersionArn("sageMakerImageVersionArn")
                                .trainingPlanArn("trainingPlanArn")
                                .build())
                        .lifecycleConfigArns(List.of("lifecycleConfigArns"))
                        .build())
                .rStudioServerProAppSettings(RStudioServerProAppSettingsProperty.builder()
                        .accessStatus("accessStatus")
                        .userGroup("userGroup")
                        .build())
                .securityGroups(List.of("securityGroups"))
                .sharingSettings(SharingSettingsProperty.builder()
                        .notebookOutputOption("notebookOutputOption")
                        .s3KmsKeyId("s3KmsKeyId")
                        .s3OutputPath("s3OutputPath")
                        .build())
                .spaceStorageSettings(DefaultSpaceStorageSettingsProperty.builder()
                        .defaultEbsStorageSettings(DefaultEbsStorageSettingsProperty.builder()
                                .defaultEbsVolumeSizeInGb(123)
                                .maximumEbsVolumeSizeInGb(123)
                                .build())
                        .build())
                .studioWebPortal("studioWebPortal")
                .studioWebPortalSettings(StudioWebPortalSettingsProperty.builder()
                        .hiddenAppTypes(List.of("hiddenAppTypes"))
                        .hiddenInstanceTypes(List.of("hiddenInstanceTypes"))
                        .hiddenMlTools(List.of("hiddenMlTools"))
                        .hiddenSageMakerImageVersionAliases(List.of(HiddenSageMakerImageProperty.builder()
                                .sageMakerImageName("sageMakerImageName")
                                .versionAliases(List.of("versionAliases"))
                                .build()))
                        .build())
                .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 cfnUserProfileProps = new CfnUserProfileProps {
    DomainId = "domainId",
    UserProfileName = "userProfileName",

    // the properties below are optional
    SingleSignOnUserIdentifier = "singleSignOnUserIdentifier",
    SingleSignOnUserValue = "singleSignOnUserValue",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    UserSettings = new UserSettingsProperty {
        AutoMountHomeEfs = "autoMountHomeEfs",
        CodeEditorAppSettings = new CodeEditorAppSettingsProperty {
            AppLifecycleManagement = new AppLifecycleManagementProperty {
                IdleSettings = new IdleSettingsProperty {
                    IdleTimeoutInMinutes = 123,
                    LifecycleManagement = "lifecycleManagement",
                    MaxIdleTimeoutInMinutes = 123,
                    MinIdleTimeoutInMinutes = 123
                }
            },
            BuiltInLifecycleConfigArn = "builtInLifecycleConfigArn",
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        CustomFileSystemConfigs = new [] { 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"
            }
        } },
        CustomPosixUserConfig = new CustomPosixUserConfigProperty {
            Gid = 123,
            Uid = 123
        },
        DefaultLandingUri = "defaultLandingUri",
        ExecutionRole = "executionRole",
        JupyterLabAppSettings = new JupyterLabAppSettingsProperty {
            AppLifecycleManagement = new AppLifecycleManagementProperty {
                IdleSettings = new IdleSettingsProperty {
                    IdleTimeoutInMinutes = 123,
                    LifecycleManagement = "lifecycleManagement",
                    MaxIdleTimeoutInMinutes = 123,
                    MinIdleTimeoutInMinutes = 123
                }
            },
            BuiltInLifecycleConfigArn = "builtInLifecycleConfigArn",
            CodeRepositories = new [] { new CodeRepositoryProperty {
                RepositoryUrl = "repositoryUrl"
            } },
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            EmrSettings = new EmrSettingsProperty {
                AssumableRoleArns = new [] { "assumableRoleArns" },
                ExecutionRoleArns = new [] { "executionRoleArns" }
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        JupyterServerAppSettings = new JupyterServerAppSettingsProperty {
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        KernelGatewayAppSettings = new KernelGatewayAppSettingsProperty {
            CustomImages = new [] { new CustomImageProperty {
                AppImageConfigName = "appImageConfigName",
                ImageName = "imageName",

                // the properties below are optional
                ImageVersionNumber = 123
            } },
            DefaultResourceSpec = new ResourceSpecProperty {
                InstanceType = "instanceType",
                LifecycleConfigArn = "lifecycleConfigArn",
                SageMakerImageArn = "sageMakerImageArn",
                SageMakerImageVersionArn = "sageMakerImageVersionArn",
                TrainingPlanArn = "trainingPlanArn"
            },
            LifecycleConfigArns = new [] { "lifecycleConfigArns" }
        },
        RStudioServerProAppSettings = new RStudioServerProAppSettingsProperty {
            AccessStatus = "accessStatus",
            UserGroup = "userGroup"
        },
        SecurityGroups = new [] { "securityGroups" },
        SharingSettings = new SharingSettingsProperty {
            NotebookOutputOption = "notebookOutputOption",
            S3KmsKeyId = "s3KmsKeyId",
            S3OutputPath = "s3OutputPath"
        },
        SpaceStorageSettings = new DefaultSpaceStorageSettingsProperty {
            DefaultEbsStorageSettings = new DefaultEbsStorageSettingsProperty {
                DefaultEbsVolumeSizeInGb = 123,
                MaximumEbsVolumeSizeInGb = 123
            }
        },
        StudioWebPortal = "studioWebPortal",
        StudioWebPortalSettings = new StudioWebPortalSettingsProperty {
            HiddenAppTypes = new [] { "hiddenAppTypes" },
            HiddenInstanceTypes = new [] { "hiddenInstanceTypes" },
            HiddenMlTools = new [] { "hiddenMlTools" },
            HiddenSageMakerImageVersionAliases = new [] { new HiddenSageMakerImageProperty {
                SageMakerImageName = "sageMakerImageName",
                VersionAliases = new [] { "versionAliases" }
            } }
        }
    }
};
```

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"

cfnUserProfileProps := &CfnUserProfileProps{
	DomainId: jsii.String("domainId"),
	UserProfileName: jsii.String("userProfileName"),

	// the properties below are optional
	SingleSignOnUserIdentifier: jsii.String("singleSignOnUserIdentifier"),
	SingleSignOnUserValue: jsii.String("singleSignOnUserValue"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	UserSettings: &UserSettingsProperty{
		AutoMountHomeEfs: jsii.String("autoMountHomeEfs"),
		CodeEditorAppSettings: &CodeEditorAppSettingsProperty{
			AppLifecycleManagement: &AppLifecycleManagementProperty{
				IdleSettings: &IdleSettingsProperty{
					IdleTimeoutInMinutes: jsii.Number(123),
					LifecycleManagement: jsii.String("lifecycleManagement"),
					MaxIdleTimeoutInMinutes: jsii.Number(123),
					MinIdleTimeoutInMinutes: jsii.Number(123),
				},
			},
			BuiltInLifecycleConfigArn: jsii.String("builtInLifecycleConfigArn"),
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		CustomFileSystemConfigs: []interface{}{
			&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"),
				},
			},
		},
		CustomPosixUserConfig: &CustomPosixUserConfigProperty{
			Gid: jsii.Number(123),
			Uid: jsii.Number(123),
		},
		DefaultLandingUri: jsii.String("defaultLandingUri"),
		ExecutionRole: jsii.String("executionRole"),
		JupyterLabAppSettings: &JupyterLabAppSettingsProperty{
			AppLifecycleManagement: &AppLifecycleManagementProperty{
				IdleSettings: &IdleSettingsProperty{
					IdleTimeoutInMinutes: jsii.Number(123),
					LifecycleManagement: jsii.String("lifecycleManagement"),
					MaxIdleTimeoutInMinutes: jsii.Number(123),
					MinIdleTimeoutInMinutes: jsii.Number(123),
				},
			},
			BuiltInLifecycleConfigArn: jsii.String("builtInLifecycleConfigArn"),
			CodeRepositories: []interface{}{
				&CodeRepositoryProperty{
					RepositoryUrl: jsii.String("repositoryUrl"),
				},
			},
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			EmrSettings: &EmrSettingsProperty{
				AssumableRoleArns: []*string{
					jsii.String("assumableRoleArns"),
				},
				ExecutionRoleArns: []*string{
					jsii.String("executionRoleArns"),
				},
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		JupyterServerAppSettings: &JupyterServerAppSettingsProperty{
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		KernelGatewayAppSettings: &KernelGatewayAppSettingsProperty{
			CustomImages: []interface{}{
				&CustomImageProperty{
					AppImageConfigName: jsii.String("appImageConfigName"),
					ImageName: jsii.String("imageName"),

					// the properties below are optional
					ImageVersionNumber: jsii.Number(123),
				},
			},
			DefaultResourceSpec: &ResourceSpecProperty{
				InstanceType: jsii.String("instanceType"),
				LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
				SageMakerImageArn: jsii.String("sageMakerImageArn"),
				SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
				TrainingPlanArn: jsii.String("trainingPlanArn"),
			},
			LifecycleConfigArns: []*string{
				jsii.String("lifecycleConfigArns"),
			},
		},
		RStudioServerProAppSettings: &RStudioServerProAppSettingsProperty{
			AccessStatus: jsii.String("accessStatus"),
			UserGroup: jsii.String("userGroup"),
		},
		SecurityGroups: []*string{
			jsii.String("securityGroups"),
		},
		SharingSettings: &SharingSettingsProperty{
			NotebookOutputOption: jsii.String("notebookOutputOption"),
			S3KmsKeyId: jsii.String("s3KmsKeyId"),
			S3OutputPath: jsii.String("s3OutputPath"),
		},
		SpaceStorageSettings: &DefaultSpaceStorageSettingsProperty{
			DefaultEbsStorageSettings: &DefaultEbsStorageSettingsProperty{
				DefaultEbsVolumeSizeInGb: jsii.Number(123),
				MaximumEbsVolumeSizeInGb: jsii.Number(123),
			},
		},
		StudioWebPortal: jsii.String("studioWebPortal"),
		StudioWebPortalSettings: &StudioWebPortalSettingsProperty{
			HiddenAppTypes: []*string{
				jsii.String("hiddenAppTypes"),
			},
			HiddenInstanceTypes: []*string{
				jsii.String("hiddenInstanceTypes"),
			},
			HiddenMlTools: []*string{
				jsii.String("hiddenMlTools"),
			},
			HiddenSageMakerImageVersionAliases: []interface{}{
				&HiddenSageMakerImageProperty{
					SageMakerImageName: jsii.String("sageMakerImageName"),
					VersionAliases: []*string{
						jsii.String("versionAliases"),
					},
				},
			},
		},
	},
}
```

## Properties

- `domainId`: string | [IDomainRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_sagemaker.IDomainRef.html) (required) — The domain ID.

- `singleSignOnUserIdentifier`: string — A specifier for the type of value specified in SingleSignOnUserValue.

  Currently, the only supported value is "UserName". If the Domain's AuthMode is SSO , this field is required. If the Domain's AuthMode is not SSO , this field cannot be specified.

- `singleSignOnUserValue`: string — The username of the associated AWS Single Sign-On User for this UserProfile.

  If the Domain's AuthMode is SSO , this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO , this field cannot be specified.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

  Tags that you specify for the User Profile are also added to all apps that the User Profile launches.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

- `userProfileName`: string (required) — The user profile name.

- `userSettings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.UserSettingsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.UserSettingsProperty.html) — A collection of settings that apply to users of Amazon SageMaker Studio.
