CfnUserProfilePropsMixin

class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnUserProfilePropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a user profile.

A user profile represents a single user within a domain, and is the main way to reference a “person” for the purposes of sharing, reporting, and other user-oriented features. This entity is created when a user onboards to Amazon SageMaker Studio. If an administrator invites a person by email or imports them from IAM Identity Center , a user profile is automatically created. A user profile is the primary holder of settings for an individual user and has a reference to the user’s private Amazon Elastic File System (EFS) home directory. .. epigraph:

If you're using IAM Identity Center authentication, a user in IAM Identity Center , or a group in IAM Identity Center containing that user, must be assigned to the Amazon SageMaker Studio application from the IAM Identity Center Console to create a user profile. For more information about application assignment, see `Assign user access <https://docs.aws.amazon.com/singlesignon/latest/userguide/assignuserstoapp.html>`_ . After assignment is complete, a user profile can be created for that user in IAM Identity Center with AWS CloudFormation.
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html

CloudformationResource:

AWS::SageMaker::UserProfile

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

cfn_user_profile_props_mixin = sagemaker_mixins.CfnUserProfilePropsMixin(sagemaker_mixins.CfnUserProfileMixinProps(
    domain_id="domainId",
    single_sign_on_user_identifier="singleSignOnUserIdentifier",
    single_sign_on_user_value="singleSignOnUserValue",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    user_profile_name="userProfileName",
    user_settings=sagemaker_mixins.CfnUserProfilePropsMixin.UserSettingsProperty(
        auto_mount_home_efs="autoMountHomeEfs",
        code_editor_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.CodeEditorAppSettingsProperty(
            app_lifecycle_management=sagemaker_mixins.CfnUserProfilePropsMixin.AppLifecycleManagementProperty(
                idle_settings=sagemaker_mixins.CfnUserProfilePropsMixin.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_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",
                image_version_number=123
            )],
            default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        custom_file_system_configs=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomFileSystemConfigProperty(
            efs_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.EFSFileSystemConfigProperty(
                file_system_id="fileSystemId",
                file_system_path="fileSystemPath"
            ),
            f_sx_lustre_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.FSxLustreFileSystemConfigProperty(
                file_system_id="fileSystemId",
                file_system_path="fileSystemPath"
            ),
            s3_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.S3FileSystemConfigProperty(
                mount_path="mountPath",
                s3_uri="s3Uri"
            )
        )],
        custom_posix_user_config=sagemaker_mixins.CfnUserProfilePropsMixin.CustomPosixUserConfigProperty(
            gid=123,
            uid=123
        ),
        default_landing_uri="defaultLandingUri",
        execution_role="executionRole",
        jupyter_lab_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.JupyterLabAppSettingsProperty(
            app_lifecycle_management=sagemaker_mixins.CfnUserProfilePropsMixin.AppLifecycleManagementProperty(
                idle_settings=sagemaker_mixins.CfnUserProfilePropsMixin.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_mixins.CfnUserProfilePropsMixin.CodeRepositoryProperty(
                repository_url="repositoryUrl"
            )],
            custom_images=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",
                image_version_number=123
            )],
            default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        jupyter_server_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty(
            default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        kernel_gateway_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.KernelGatewayAppSettingsProperty(
            custom_images=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
                app_image_config_name="appImageConfigName",
                image_name="imageName",
                image_version_number=123
            )],
            default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
                instance_type="instanceType",
                lifecycle_config_arn="lifecycleConfigArn",
                sage_maker_image_arn="sageMakerImageArn",
                sage_maker_image_version_arn="sageMakerImageVersionArn"
            ),
            lifecycle_config_arns=["lifecycleConfigArns"]
        ),
        r_studio_server_pro_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.RStudioServerProAppSettingsProperty(
            access_status="accessStatus",
            user_group="userGroup"
        ),
        security_groups=["securityGroups"],
        sharing_settings=sagemaker_mixins.CfnUserProfilePropsMixin.SharingSettingsProperty(
            notebook_output_option="notebookOutputOption",
            s3_kms_key_id="s3KmsKeyId",
            s3_output_path="s3OutputPath"
        ),
        space_storage_settings=sagemaker_mixins.CfnUserProfilePropsMixin.DefaultSpaceStorageSettingsProperty(
            default_ebs_storage_settings=sagemaker_mixins.CfnUserProfilePropsMixin.DefaultEbsStorageSettingsProperty(
                default_ebs_volume_size_in_gb=123,
                maximum_ebs_volume_size_in_gb=123
            )
        ),
        studio_web_portal="studioWebPortal",
        studio_web_portal_settings=sagemaker_mixins.CfnUserProfilePropsMixin.StudioWebPortalSettingsProperty(
            hidden_app_types=["hiddenAppTypes"],
            hidden_instance_types=["hiddenInstanceTypes"],
            hidden_ml_tools=["hiddenMlTools"],
            hidden_sage_maker_image_version_aliases=[sagemaker_mixins.CfnUserProfilePropsMixin.HiddenSageMakerImageProperty(
                sage_maker_image_name="sageMakerImageName",
                version_aliases=["versionAliases"]
            )]
        )
    )
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SageMaker::UserProfile.

Parameters:
  • props (Union[CfnUserProfileMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['domainId', 'singleSignOnUserIdentifier', 'singleSignOnUserValue', 'tags', 'userProfileName', 'userSettings']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AppLifecycleManagementProperty

class CfnUserProfilePropsMixin.AppLifecycleManagementProperty(*, idle_settings=None)

Bases: object

Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.

Parameters:

idle_settings (Union[IResolvable, IdleSettingsProperty, Dict[str, Any], None]) – Settings related to idle shutdown of Studio applications.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-applifecyclemanagement.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

app_lifecycle_management_property = sagemaker_mixins.CfnUserProfilePropsMixin.AppLifecycleManagementProperty(
    idle_settings=sagemaker_mixins.CfnUserProfilePropsMixin.IdleSettingsProperty(
        idle_timeout_in_minutes=123,
        lifecycle_management="lifecycleManagement",
        max_idle_timeout_in_minutes=123,
        min_idle_timeout_in_minutes=123
    )
)

Attributes

idle_settings

Settings related to idle shutdown of Studio applications.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-applifecyclemanagement.html#cfn-sagemaker-userprofile-applifecyclemanagement-idlesettings

CodeEditorAppSettingsProperty

class CfnUserProfilePropsMixin.CodeEditorAppSettingsProperty(*, app_lifecycle_management=None, built_in_lifecycle_config_arn=None, custom_images=None, default_resource_spec=None, lifecycle_config_arns=None)

Bases: object

The Code Editor application settings.

For more information about Code Editor, see Get started with Code Editor in Amazon SageMaker .

Parameters:
  • app_lifecycle_management (Union[IResolvable, AppLifecycleManagementProperty, Dict[str, Any], None]) – Settings that are used to configure and manage the lifecycle of CodeEditor applications.

  • built_in_lifecycle_config_arn (Optional[str]) – The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.

  • custom_images (Union[IResolvable, Sequence[Union[IResolvable, CustomImageProperty, Dict[str, Any]]], None]) – A list of custom SageMaker images that are configured to run as a Code Editor app.

  • default_resource_spec (Union[IResolvable, ResourceSpecProperty, Dict[str, Any], None]) – The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.

  • lifecycle_config_arns (Optional[Sequence[str]]) – The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

code_editor_app_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.CodeEditorAppSettingsProperty(
    app_lifecycle_management=sagemaker_mixins.CfnUserProfilePropsMixin.AppLifecycleManagementProperty(
        idle_settings=sagemaker_mixins.CfnUserProfilePropsMixin.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_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
        app_image_config_name="appImageConfigName",
        image_name="imageName",
        image_version_number=123
    )],
    default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
        instance_type="instanceType",
        lifecycle_config_arn="lifecycleConfigArn",
        sage_maker_image_arn="sageMakerImageArn",
        sage_maker_image_version_arn="sageMakerImageVersionArn"
    ),
    lifecycle_config_arns=["lifecycleConfigArns"]
)

Attributes

app_lifecycle_management

Settings that are used to configure and manage the lifecycle of CodeEditor applications.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-applifecyclemanagement

built_in_lifecycle_config_arn

The lifecycle configuration that runs before the default lifecycle configuration.

It can override changes made in the default lifecycle configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-builtinlifecycleconfigarn

custom_images

A list of custom SageMaker images that are configured to run as a Code Editor app.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-customimages

default_resource_spec

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-defaultresourcespec

lifecycle_config_arns

The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html#cfn-sagemaker-userprofile-codeeditorappsettings-lifecycleconfigarns

CodeRepositoryProperty

class CfnUserProfilePropsMixin.CodeRepositoryProperty(*, repository_url=None)

Bases: object

A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.

Parameters:

repository_url (Optional[str]) – The URL of the Git repository.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-coderepository.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

code_repository_property = sagemaker_mixins.CfnUserProfilePropsMixin.CodeRepositoryProperty(
    repository_url="repositoryUrl"
)

Attributes

repository_url

The URL of the Git repository.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-coderepository.html#cfn-sagemaker-userprofile-coderepository-repositoryurl

CustomFileSystemConfigProperty

class CfnUserProfilePropsMixin.CustomFileSystemConfigProperty(*, efs_file_system_config=None, f_sx_lustre_file_system_config=None, s3_file_system_config=None)

Bases: object

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.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

custom_file_system_config_property = sagemaker_mixins.CfnUserProfilePropsMixin.CustomFileSystemConfigProperty(
    efs_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.EFSFileSystemConfigProperty(
        file_system_id="fileSystemId",
        file_system_path="fileSystemPath"
    ),
    f_sx_lustre_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.FSxLustreFileSystemConfigProperty(
        file_system_id="fileSystemId",
        file_system_path="fileSystemPath"
    ),
    s3_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.S3FileSystemConfigProperty(
        mount_path="mountPath",
        s3_uri="s3Uri"
    )
)

Attributes

efs_file_system_config

The settings for a custom Amazon EFS file system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html#cfn-sagemaker-userprofile-customfilesystemconfig-efsfilesystemconfig

f_sx_lustre_file_system_config

The settings for a custom Amazon FSx for Lustre file system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html#cfn-sagemaker-userprofile-customfilesystemconfig-fsxlustrefilesystemconfig

s3_file_system_config

Configuration settings for a custom Amazon S3 file system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html#cfn-sagemaker-userprofile-customfilesystemconfig-s3filesystemconfig

CustomImageProperty

class CfnUserProfilePropsMixin.CustomImageProperty(*, app_image_config_name=None, image_name=None, image_version_number=None)

Bases: object

A custom SageMaker AI image.

For more information, see Bring your own SageMaker AI image .

Parameters:
  • app_image_config_name (Optional[str]) – The name of the AppImageConfig.

  • image_name (Optional[str]) – The name of the CustomImage. Must be unique to your account.

  • image_version_number (Union[int, float, None]) – The version number of the CustomImage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

custom_image_property = sagemaker_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
    app_image_config_name="appImageConfigName",
    image_name="imageName",
    image_version_number=123
)

Attributes

app_image_config_name

The name of the AppImageConfig.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html#cfn-sagemaker-userprofile-customimage-appimageconfigname

image_name

The name of the CustomImage.

Must be unique to your account.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html#cfn-sagemaker-userprofile-customimage-imagename

image_version_number

The version number of the CustomImage.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html#cfn-sagemaker-userprofile-customimage-imageversionnumber

CustomPosixUserConfigProperty

class CfnUserProfilePropsMixin.CustomPosixUserConfigProperty(*, gid=None, uid=None)

Bases: object

Details about the POSIX identity that is used for file system operations.

Parameters:
  • gid (Union[int, float, None]) – The POSIX group ID.

  • uid (Union[int, float, None]) – The POSIX user ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customposixuserconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

custom_posix_user_config_property = sagemaker_mixins.CfnUserProfilePropsMixin.CustomPosixUserConfigProperty(
    gid=123,
    uid=123
)

Attributes

gid

The POSIX group ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customposixuserconfig.html#cfn-sagemaker-userprofile-customposixuserconfig-gid

uid

The POSIX user ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customposixuserconfig.html#cfn-sagemaker-userprofile-customposixuserconfig-uid

DefaultEbsStorageSettingsProperty

class CfnUserProfilePropsMixin.DefaultEbsStorageSettingsProperty(*, default_ebs_volume_size_in_gb=None, maximum_ebs_volume_size_in_gb=None)

Bases: object

A collection of default EBS storage settings that apply to spaces created within a domain or user profile.

Parameters:
  • default_ebs_volume_size_in_gb (Union[int, float, None]) – The default size of the EBS storage volume for a space.

  • maximum_ebs_volume_size_in_gb (Union[int, float, None]) – The maximum size of the EBS storage volume for a space.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

default_ebs_storage_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.DefaultEbsStorageSettingsProperty(
    default_ebs_volume_size_in_gb=123,
    maximum_ebs_volume_size_in_gb=123
)

Attributes

default_ebs_volume_size_in_gb

The default size of the EBS storage volume for a space.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html#cfn-sagemaker-userprofile-defaultebsstoragesettings-defaultebsvolumesizeingb

maximum_ebs_volume_size_in_gb

The maximum size of the EBS storage volume for a space.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html#cfn-sagemaker-userprofile-defaultebsstoragesettings-maximumebsvolumesizeingb

DefaultSpaceStorageSettingsProperty

class CfnUserProfilePropsMixin.DefaultSpaceStorageSettingsProperty(*, default_ebs_storage_settings=None)

Bases: object

The default storage settings for a space.

Parameters:

default_ebs_storage_settings (Union[IResolvable, DefaultEbsStorageSettingsProperty, Dict[str, Any], None]) – The default EBS storage settings for a space.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultspacestoragesettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

default_space_storage_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.DefaultSpaceStorageSettingsProperty(
    default_ebs_storage_settings=sagemaker_mixins.CfnUserProfilePropsMixin.DefaultEbsStorageSettingsProperty(
        default_ebs_volume_size_in_gb=123,
        maximum_ebs_volume_size_in_gb=123
    )
)

Attributes

default_ebs_storage_settings

The default EBS storage settings for a space.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultspacestoragesettings.html#cfn-sagemaker-userprofile-defaultspacestoragesettings-defaultebsstoragesettings

EFSFileSystemConfigProperty

class CfnUserProfilePropsMixin.EFSFileSystemConfigProperty(*, file_system_id=None, file_system_path=None)

Bases: object

The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker AI Domain.

Parameters:
  • file_system_id (Optional[str]) – The ID of your Amazon EFS file system.

  • file_system_path (Optional[str]) – The path to the file system directory that is accessible in Amazon SageMaker AI Studio. Permitted users can access only this directory and below.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-efsfilesystemconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

e_fSFile_system_config_property = sagemaker_mixins.CfnUserProfilePropsMixin.EFSFileSystemConfigProperty(
    file_system_id="fileSystemId",
    file_system_path="fileSystemPath"
)

Attributes

file_system_id

The ID of your Amazon EFS file system.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-efsfilesystemconfig.html#cfn-sagemaker-userprofile-efsfilesystemconfig-filesystemid

file_system_path

The path to the file system directory that is accessible in Amazon SageMaker AI Studio.

Permitted users can access only this directory and below.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-efsfilesystemconfig.html#cfn-sagemaker-userprofile-efsfilesystemconfig-filesystempath

FSxLustreFileSystemConfigProperty

class CfnUserProfilePropsMixin.FSxLustreFileSystemConfigProperty(*, file_system_id=None, file_system_path=None)

Bases: object

The settings for assigning a custom Amazon FSx for Lustre file system to a user profile or space for an Amazon SageMaker Domain.

Parameters:
  • file_system_id (Optional[str]) – The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.

  • file_system_path (Optional[str]) – The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

f_sx_lustre_file_system_config_property = sagemaker_mixins.CfnUserProfilePropsMixin.FSxLustreFileSystemConfigProperty(
    file_system_id="fileSystemId",
    file_system_path="fileSystemPath"
)

Attributes

file_system_id

The globally unique, 17-digit, ID of the file system, assigned by Amazon FSx for Lustre.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html#cfn-sagemaker-userprofile-fsxlustrefilesystemconfig-filesystemid

file_system_path

The path to the file system directory that is accessible in Amazon SageMaker Studio.

Permitted users can access only this directory and below.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html#cfn-sagemaker-userprofile-fsxlustrefilesystemconfig-filesystempath

HiddenSageMakerImageProperty

class CfnUserProfilePropsMixin.HiddenSageMakerImageProperty(*, sage_maker_image_name=None, version_aliases=None)

Bases: object

The SageMaker images that are hidden from the Studio user interface.

You must specify the SageMaker image name and version aliases.

Parameters:
  • sage_maker_image_name (Optional[str]) – The SageMaker image name that you are hiding from the Studio user interface.

  • version_aliases (Optional[Sequence[str]]) – The version aliases you are hiding from the Studio user interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

hidden_sage_maker_image_property = sagemaker_mixins.CfnUserProfilePropsMixin.HiddenSageMakerImageProperty(
    sage_maker_image_name="sageMakerImageName",
    version_aliases=["versionAliases"]
)

Attributes

sage_maker_image_name

The SageMaker image name that you are hiding from the Studio user interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-sagemakerimagename

version_aliases

The version aliases you are hiding from the Studio user interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html#cfn-sagemaker-userprofile-hiddensagemakerimage-versionaliases

IdleSettingsProperty

class CfnUserProfilePropsMixin.IdleSettingsProperty(*, idle_timeout_in_minutes=None, lifecycle_management=None, max_idle_timeout_in_minutes=None, min_idle_timeout_in_minutes=None)

Bases: object

Settings related to idle shutdown of Studio applications.

Parameters:
  • idle_timeout_in_minutes (Union[int, float, None]) – The time that SageMaker waits after the application becomes idle before shutting it down.

  • lifecycle_management (Optional[str]) – Indicates whether idle shutdown is activated for the application type.

  • max_idle_timeout_in_minutes (Union[int, float, None]) – The maximum value in minutes that custom idle shutdown can be set to by the user.

  • min_idle_timeout_in_minutes (Union[int, float, None]) – The minimum value in minutes that custom idle shutdown can be set to by the user.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

idle_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.IdleSettingsProperty(
    idle_timeout_in_minutes=123,
    lifecycle_management="lifecycleManagement",
    max_idle_timeout_in_minutes=123,
    min_idle_timeout_in_minutes=123
)

Attributes

idle_timeout_in_minutes

The time that SageMaker waits after the application becomes idle before shutting it down.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-idletimeoutinminutes

lifecycle_management

Indicates whether idle shutdown is activated for the application type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-lifecyclemanagement

max_idle_timeout_in_minutes

The maximum value in minutes that custom idle shutdown can be set to by the user.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-maxidletimeoutinminutes

min_idle_timeout_in_minutes

The minimum value in minutes that custom idle shutdown can be set to by the user.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html#cfn-sagemaker-userprofile-idlesettings-minidletimeoutinminutes

JupyterLabAppSettingsProperty

class CfnUserProfilePropsMixin.JupyterLabAppSettingsProperty(*, app_lifecycle_management=None, built_in_lifecycle_config_arn=None, code_repositories=None, custom_images=None, default_resource_spec=None, lifecycle_config_arns=None)

Bases: object

The settings for the JupyterLab application.

Parameters:
  • app_lifecycle_management (Union[IResolvable, AppLifecycleManagementProperty, Dict[str, Any], None]) – Indicates whether idle shutdown is activated for JupyterLab applications.

  • built_in_lifecycle_config_arn (Optional[str]) – The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.

  • code_repositories (Union[IResolvable, Sequence[Union[IResolvable, CodeRepositoryProperty, Dict[str, Any]]], None]) – A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

  • custom_images (Union[IResolvable, Sequence[Union[IResolvable, CustomImageProperty, Dict[str, Any]]], None]) – A list of custom SageMaker images that are configured to run as a JupyterLab app.

  • default_resource_spec (Union[IResolvable, ResourceSpecProperty, Dict[str, Any], None]) – The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.

  • lifecycle_config_arns (Optional[Sequence[str]]) – The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns to an empty list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

jupyter_lab_app_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.JupyterLabAppSettingsProperty(
    app_lifecycle_management=sagemaker_mixins.CfnUserProfilePropsMixin.AppLifecycleManagementProperty(
        idle_settings=sagemaker_mixins.CfnUserProfilePropsMixin.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_mixins.CfnUserProfilePropsMixin.CodeRepositoryProperty(
        repository_url="repositoryUrl"
    )],
    custom_images=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
        app_image_config_name="appImageConfigName",
        image_name="imageName",
        image_version_number=123
    )],
    default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
        instance_type="instanceType",
        lifecycle_config_arn="lifecycleConfigArn",
        sage_maker_image_arn="sageMakerImageArn",
        sage_maker_image_version_arn="sageMakerImageVersionArn"
    ),
    lifecycle_config_arns=["lifecycleConfigArns"]
)

Attributes

app_lifecycle_management

Indicates whether idle shutdown is activated for JupyterLab applications.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-applifecyclemanagement

built_in_lifecycle_config_arn

The lifecycle configuration that runs before the default lifecycle configuration.

It can override changes made in the default lifecycle configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-builtinlifecycleconfigarn

code_repositories

A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-coderepositories

custom_images

A list of custom SageMaker images that are configured to run as a JupyterLab app.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-customimages

default_resource_spec

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterLab app.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-defaultresourcespec

lifecycle_config_arns

The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain.

To remove a lifecycle config, you must set LifecycleConfigArns to an empty list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html#cfn-sagemaker-userprofile-jupyterlabappsettings-lifecycleconfigarns

JupyterServerAppSettingsProperty

class CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty(*, default_resource_spec=None, lifecycle_config_arns=None)

Bases: object

The JupyterServer app settings.

Parameters:
  • default_resource_spec (Union[IResolvable, ResourceSpecProperty, Dict[str, Any], None]) – The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.

  • lifecycle_config_arns (Optional[Sequence[str]]) – The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required. .. epigraph:: To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterserverappsettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

jupyter_server_app_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty(
    default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
        instance_type="instanceType",
        lifecycle_config_arn="lifecycleConfigArn",
        sage_maker_image_arn="sageMakerImageArn",
        sage_maker_image_version_arn="sageMakerImageVersionArn"
    ),
    lifecycle_config_arns=["lifecycleConfigArns"]
)

Attributes

default_resource_spec

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterserverappsettings.html#cfn-sagemaker-userprofile-jupyterserverappsettings-defaultresourcespec

lifecycle_config_arns

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp.

If you use this parameter, the DefaultResourceSpec parameter is also required. .. epigraph:

To remove a Lifecycle Config, you must set ``LifecycleConfigArns`` to an empty list.
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterserverappsettings.html#cfn-sagemaker-userprofile-jupyterserverappsettings-lifecycleconfigarns

KernelGatewayAppSettingsProperty

class CfnUserProfilePropsMixin.KernelGatewayAppSettingsProperty(*, custom_images=None, default_resource_spec=None, lifecycle_config_arns=None)

Bases: object

The KernelGateway app settings.

Parameters:
  • custom_images (Union[IResolvable, Sequence[Union[IResolvable, CustomImageProperty, Dict[str, Any]]], None]) – A list of custom SageMaker AI images that are configured to run as a KernelGateway app. The maximum number of custom images are as follows. - On a domain level: 200 - On a space level: 5 - On a user profile level: 5

  • default_resource_spec (Union[IResolvable, ResourceSpecProperty, Dict[str, Any], None]) – The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. .. epigraph:: The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or CloudFormation and the instance type parameter value is not passed.

  • lifecycle_config_arns (Optional[Sequence[str]]) – The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. .. epigraph:: To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

kernel_gateway_app_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.KernelGatewayAppSettingsProperty(
    custom_images=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
        app_image_config_name="appImageConfigName",
        image_name="imageName",
        image_version_number=123
    )],
    default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
        instance_type="instanceType",
        lifecycle_config_arn="lifecycleConfigArn",
        sage_maker_image_arn="sageMakerImageArn",
        sage_maker_image_version_arn="sageMakerImageVersionArn"
    ),
    lifecycle_config_arns=["lifecycleConfigArns"]
)

Attributes

custom_images

A list of custom SageMaker AI images that are configured to run as a KernelGateway app.

The maximum number of custom images are as follows.

  • On a domain level: 200

  • On a space level: 5

  • On a user profile level: 5

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-customimages

default_resource_spec

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.

The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or CloudFormation and the instance type parameter value is not passed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-defaultresourcespec

lifecycle_config_arns

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html#cfn-sagemaker-userprofile-kernelgatewayappsettings-lifecycleconfigarns

RStudioServerProAppSettingsProperty

class CfnUserProfilePropsMixin.RStudioServerProAppSettingsProperty(*, access_status=None, user_group=None)

Bases: object

A collection of settings that configure user interaction with the RStudioServerPro app.

Parameters:
  • access_status (Optional[str]) – Indicates whether the current user has access to the RStudioServerPro app.

  • user_group (Optional[str]) – The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-rstudioserverproappsettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

r_studio_server_pro_app_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.RStudioServerProAppSettingsProperty(
    access_status="accessStatus",
    user_group="userGroup"
)

Attributes

access_status

Indicates whether the current user has access to the RStudioServerPro app.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-rstudioserverproappsettings.html#cfn-sagemaker-userprofile-rstudioserverproappsettings-accessstatus

user_group

The level of permissions that the user has within the RStudioServerPro app.

This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-rstudioserverproappsettings.html#cfn-sagemaker-userprofile-rstudioserverproappsettings-usergroup

ResourceSpecProperty

class CfnUserProfilePropsMixin.ResourceSpecProperty(*, instance_type=None, lifecycle_config_arn=None, sage_maker_image_arn=None, sage_maker_image_version_arn=None)

Bases: object

Specifies the ARN’s of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.

When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn , pass None as the value.

Parameters:
  • instance_type (Optional[str]) – The instance type that the image version runs on. .. epigraph:: JupyterServer apps only support the system value. For KernelGateway apps , the system value is translated to ml.t3.medium . KernelGateway apps also support all other values for available instance types.

  • lifecycle_config_arn (Optional[str]) – The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

  • sage_maker_image_arn (Optional[str]) – The ARN of the SageMaker AI image that the image version belongs to.

  • sage_maker_image_version_arn (Optional[str]) – The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn , pass None as the value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

resource_spec_property = sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
    instance_type="instanceType",
    lifecycle_config_arn="lifecycleConfigArn",
    sage_maker_image_arn="sageMakerImageArn",
    sage_maker_image_version_arn="sageMakerImageVersionArn"
)

Attributes

instance_type

The instance type that the image version runs on.

JupyterServer apps only support the system value.

For KernelGateway apps , the system value is translated to ml.t3.medium . KernelGateway apps also support all other values for available instance types.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-instancetype

lifecycle_config_arn

The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-lifecycleconfigarn

sage_maker_image_arn

The ARN of the SageMaker AI image that the image version belongs to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-sagemakerimagearn

sage_maker_image_version_arn

The ARN of the image version created on the instance.

To clear the value set for SageMakerImageVersionArn , pass None as the value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html#cfn-sagemaker-userprofile-resourcespec-sagemakerimageversionarn

S3FileSystemConfigProperty

class CfnUserProfilePropsMixin.S3FileSystemConfigProperty(*, mount_path=None, s3_uri=None)

Bases: object

Configuration for the custom Amazon S3 file system.

Parameters:
  • mount_path (Optional[str]) – The file system path where the Amazon S3 storage location will be mounted within the Amazon SageMaker Studio environment.

  • s3_uri (Optional[str]) – The Amazon S3 URI of the S3 file system configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-s3filesystemconfig.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

s3_file_system_config_property = sagemaker_mixins.CfnUserProfilePropsMixin.S3FileSystemConfigProperty(
    mount_path="mountPath",
    s3_uri="s3Uri"
)

Attributes

mount_path

The file system path where the Amazon S3 storage location will be mounted within the Amazon SageMaker Studio environment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-s3filesystemconfig.html#cfn-sagemaker-userprofile-s3filesystemconfig-mountpath

s3_uri

The Amazon S3 URI of the S3 file system configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-s3filesystemconfig.html#cfn-sagemaker-userprofile-s3filesystemconfig-s3uri

SharingSettingsProperty

class CfnUserProfilePropsMixin.SharingSettingsProperty(*, notebook_output_option=None, s3_kms_key_id=None, s3_output_path=None)

Bases: object

Specifies options when sharing an Amazon SageMaker Studio notebook.

These settings are specified as part of DefaultUserSettings when the CreateDomain API is called, and as part of UserSettings when the CreateUserProfile API is called.

Parameters:
  • notebook_output_option (Optional[str]) – Whether to include the notebook cell output when sharing the notebook. The default is Disabled .

  • s3_kms_key_id (Optional[str]) – When NotebookOutputOption is Allowed , the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.

  • s3_output_path (Optional[str]) – When NotebookOutputOption is Allowed , the Amazon S3 bucket used to store the shared notebook snapshots.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

sharing_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.SharingSettingsProperty(
    notebook_output_option="notebookOutputOption",
    s3_kms_key_id="s3KmsKeyId",
    s3_output_path="s3OutputPath"
)

Attributes

notebook_output_option

Whether to include the notebook cell output when sharing the notebook.

The default is Disabled .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html#cfn-sagemaker-userprofile-sharingsettings-notebookoutputoption

s3_kms_key_id

When NotebookOutputOption is Allowed , the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html#cfn-sagemaker-userprofile-sharingsettings-s3kmskeyid

s3_output_path

When NotebookOutputOption is Allowed , the Amazon S3 bucket used to store the shared notebook snapshots.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html#cfn-sagemaker-userprofile-sharingsettings-s3outputpath

StudioWebPortalSettingsProperty

class CfnUserProfilePropsMixin.StudioWebPortalSettingsProperty(*, hidden_app_types=None, hidden_instance_types=None, hidden_ml_tools=None, hidden_sage_maker_image_version_aliases=None)

Bases: object

Studio settings.

If these settings are applied on a user level, they take priority over the settings applied on a domain level.

Parameters:
  • hidden_app_types (Optional[Sequence[str]]) – The Applications supported in Studio that are hidden from the Studio left navigation pane.

  • hidden_instance_types (Optional[Sequence[str]]) – The instance types you are hiding from the Studio user interface.

  • hidden_ml_tools (Optional[Sequence[str]]) – The machine learning tools that are hidden from the Studio left navigation pane.

  • hidden_sage_maker_image_version_aliases (Union[IResolvable, Sequence[Union[IResolvable, HiddenSageMakerImageProperty, Dict[str, Any]]], None]) – The version aliases you are hiding from the Studio user interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

studio_web_portal_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.StudioWebPortalSettingsProperty(
    hidden_app_types=["hiddenAppTypes"],
    hidden_instance_types=["hiddenInstanceTypes"],
    hidden_ml_tools=["hiddenMlTools"],
    hidden_sage_maker_image_version_aliases=[sagemaker_mixins.CfnUserProfilePropsMixin.HiddenSageMakerImageProperty(
        sage_maker_image_name="sageMakerImageName",
        version_aliases=["versionAliases"]
    )]
)

Attributes

hidden_app_types

The Applications supported in Studio that are hidden from the Studio left navigation pane.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddenapptypes

hidden_instance_types

The instance types you are hiding from the Studio user interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddeninstancetypes

hidden_ml_tools

The machine learning tools that are hidden from the Studio left navigation pane.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddenmltools

hidden_sage_maker_image_version_aliases

The version aliases you are hiding from the Studio user interface.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html#cfn-sagemaker-userprofile-studiowebportalsettings-hiddensagemakerimageversionaliases

UserSettingsProperty

class CfnUserProfilePropsMixin.UserSettingsProperty(*, auto_mount_home_efs=None, code_editor_app_settings=None, custom_file_system_configs=None, custom_posix_user_config=None, default_landing_uri=None, execution_role=None, jupyter_lab_app_settings=None, jupyter_server_app_settings=None, kernel_gateway_app_settings=None, r_studio_server_pro_app_settings=None, security_groups=None, sharing_settings=None, space_storage_settings=None, studio_web_portal=None, studio_web_portal_settings=None)

Bases: object

A collection of settings that apply to users of Amazon SageMaker Studio.

These settings are specified when the CreateUserProfile API is called, and as DefaultUserSettings when the CreateDomain API is called.

SecurityGroups is aggregated when specified in both calls. For all other settings in UserSettings , the values specified in CreateUserProfile take precedence over those specified in CreateDomain .

Parameters:
  • auto_mount_home_efs (Optional[str]) – Indicates whether auto-mounting of an EFS volume is supported for the user profile. The DefaultAsDomain value is only supported for user profiles. Do not use the DefaultAsDomain value when setting this parameter for a domain. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn’t apply this setting to shared spaces.

  • code_editor_app_settings (Union[IResolvable, CodeEditorAppSettingsProperty, Dict[str, Any], None]) – The Code Editor application settings. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

  • custom_file_system_configs (Union[IResolvable, Sequence[Union[IResolvable, CustomFileSystemConfigProperty, Dict[str, Any]]], None]) – The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker AI Studio. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

  • custom_posix_user_config (Union[IResolvable, CustomPosixUserConfigProperty, Dict[str, Any], None]) – Details about the POSIX identity that is used for file system operations. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

  • default_landing_uri (Optional[str]) – The default experience that the user is directed to when accessing the domain. The supported values are:. - studio:: : Indicates that Studio is the default experience. This value can only be passed if StudioWebPortal is set to ENABLED . - app:JupyterServer: : Indicates that Studio Classic is the default experience.

  • execution_role (Optional[str]) – The execution role for the user. SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn’t apply this setting to shared spaces.

  • jupyter_lab_app_settings (Union[IResolvable, JupyterLabAppSettingsProperty, Dict[str, Any], None]) – The settings for the JupyterLab application. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

  • jupyter_server_app_settings (Union[IResolvable, JupyterServerAppSettingsProperty, Dict[str, Any], None]) – The Jupyter server’s app settings.

  • kernel_gateway_app_settings (Union[IResolvable, KernelGatewayAppSettingsProperty, Dict[str, Any], None]) – The kernel gateway app settings.

  • r_studio_server_pro_app_settings (Union[IResolvable, RStudioServerProAppSettingsProperty, Dict[str, Any], None]) – A collection of settings that configure user interaction with the RStudioServerPro app.

  • security_groups (Optional[Sequence[str]]) – The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication. Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly . Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly , unless specified as part of the DefaultUserSettings for the domain. Amazon SageMaker AI adds a security group to allow NFS traffic from Amazon SageMaker AI Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

  • sharing_settings (Union[IResolvable, SharingSettingsProperty, Dict[str, Any], None]) – Specifies options for sharing Amazon SageMaker AI Studio notebooks.

  • space_storage_settings (Union[IResolvable, DefaultSpaceStorageSettingsProperty, Dict[str, Any], None]) – The storage settings for a space. SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

  • studio_web_portal (Optional[str]) – Whether the user can access Studio. If this value is set to DISABLED , the user cannot access Studio, even if that is the default experience for the domain.

  • studio_web_portal_settings (Union[IResolvable, StudioWebPortalSettingsProperty, Dict[str, Any], None]) – Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins

user_settings_property = sagemaker_mixins.CfnUserProfilePropsMixin.UserSettingsProperty(
    auto_mount_home_efs="autoMountHomeEfs",
    code_editor_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.CodeEditorAppSettingsProperty(
        app_lifecycle_management=sagemaker_mixins.CfnUserProfilePropsMixin.AppLifecycleManagementProperty(
            idle_settings=sagemaker_mixins.CfnUserProfilePropsMixin.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_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
            app_image_config_name="appImageConfigName",
            image_name="imageName",
            image_version_number=123
        )],
        default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
            instance_type="instanceType",
            lifecycle_config_arn="lifecycleConfigArn",
            sage_maker_image_arn="sageMakerImageArn",
            sage_maker_image_version_arn="sageMakerImageVersionArn"
        ),
        lifecycle_config_arns=["lifecycleConfigArns"]
    ),
    custom_file_system_configs=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomFileSystemConfigProperty(
        efs_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.EFSFileSystemConfigProperty(
            file_system_id="fileSystemId",
            file_system_path="fileSystemPath"
        ),
        f_sx_lustre_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.FSxLustreFileSystemConfigProperty(
            file_system_id="fileSystemId",
            file_system_path="fileSystemPath"
        ),
        s3_file_system_config=sagemaker_mixins.CfnUserProfilePropsMixin.S3FileSystemConfigProperty(
            mount_path="mountPath",
            s3_uri="s3Uri"
        )
    )],
    custom_posix_user_config=sagemaker_mixins.CfnUserProfilePropsMixin.CustomPosixUserConfigProperty(
        gid=123,
        uid=123
    ),
    default_landing_uri="defaultLandingUri",
    execution_role="executionRole",
    jupyter_lab_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.JupyterLabAppSettingsProperty(
        app_lifecycle_management=sagemaker_mixins.CfnUserProfilePropsMixin.AppLifecycleManagementProperty(
            idle_settings=sagemaker_mixins.CfnUserProfilePropsMixin.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_mixins.CfnUserProfilePropsMixin.CodeRepositoryProperty(
            repository_url="repositoryUrl"
        )],
        custom_images=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
            app_image_config_name="appImageConfigName",
            image_name="imageName",
            image_version_number=123
        )],
        default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
            instance_type="instanceType",
            lifecycle_config_arn="lifecycleConfigArn",
            sage_maker_image_arn="sageMakerImageArn",
            sage_maker_image_version_arn="sageMakerImageVersionArn"
        ),
        lifecycle_config_arns=["lifecycleConfigArns"]
    ),
    jupyter_server_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.JupyterServerAppSettingsProperty(
        default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
            instance_type="instanceType",
            lifecycle_config_arn="lifecycleConfigArn",
            sage_maker_image_arn="sageMakerImageArn",
            sage_maker_image_version_arn="sageMakerImageVersionArn"
        ),
        lifecycle_config_arns=["lifecycleConfigArns"]
    ),
    kernel_gateway_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.KernelGatewayAppSettingsProperty(
        custom_images=[sagemaker_mixins.CfnUserProfilePropsMixin.CustomImageProperty(
            app_image_config_name="appImageConfigName",
            image_name="imageName",
            image_version_number=123
        )],
        default_resource_spec=sagemaker_mixins.CfnUserProfilePropsMixin.ResourceSpecProperty(
            instance_type="instanceType",
            lifecycle_config_arn="lifecycleConfigArn",
            sage_maker_image_arn="sageMakerImageArn",
            sage_maker_image_version_arn="sageMakerImageVersionArn"
        ),
        lifecycle_config_arns=["lifecycleConfigArns"]
    ),
    r_studio_server_pro_app_settings=sagemaker_mixins.CfnUserProfilePropsMixin.RStudioServerProAppSettingsProperty(
        access_status="accessStatus",
        user_group="userGroup"
    ),
    security_groups=["securityGroups"],
    sharing_settings=sagemaker_mixins.CfnUserProfilePropsMixin.SharingSettingsProperty(
        notebook_output_option="notebookOutputOption",
        s3_kms_key_id="s3KmsKeyId",
        s3_output_path="s3OutputPath"
    ),
    space_storage_settings=sagemaker_mixins.CfnUserProfilePropsMixin.DefaultSpaceStorageSettingsProperty(
        default_ebs_storage_settings=sagemaker_mixins.CfnUserProfilePropsMixin.DefaultEbsStorageSettingsProperty(
            default_ebs_volume_size_in_gb=123,
            maximum_ebs_volume_size_in_gb=123
        )
    ),
    studio_web_portal="studioWebPortal",
    studio_web_portal_settings=sagemaker_mixins.CfnUserProfilePropsMixin.StudioWebPortalSettingsProperty(
        hidden_app_types=["hiddenAppTypes"],
        hidden_instance_types=["hiddenInstanceTypes"],
        hidden_ml_tools=["hiddenMlTools"],
        hidden_sage_maker_image_version_aliases=[sagemaker_mixins.CfnUserProfilePropsMixin.HiddenSageMakerImageProperty(
            sage_maker_image_name="sageMakerImageName",
            version_aliases=["versionAliases"]
        )]
    )
)

Attributes

auto_mount_home_efs

Indicates whether auto-mounting of an EFS volume is supported for the user profile.

The DefaultAsDomain value is only supported for user profiles. Do not use the DefaultAsDomain value when setting this parameter for a domain.

SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn’t apply this setting to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-automounthomeefs

code_editor_app_settings

The Code Editor application settings.

SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-codeeditorappsettings

custom_file_system_configs

The settings for assigning a custom file system to a user profile.

Permitted users can access this file system in Amazon SageMaker AI Studio.

SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-customfilesystemconfigs

custom_posix_user_config

Details about the POSIX identity that is used for file system operations.

SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-customposixuserconfig

default_landing_uri

.

  • studio:: : Indicates that Studio is the default experience. This value can only be passed if StudioWebPortal is set to ENABLED .

  • app:JupyterServer: : Indicates that Studio Classic is the default experience.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-defaultlandinguri

Type:

The default experience that the user is directed to when accessing the domain. The supported values are

execution_role

The execution role for the user.

SageMaker applies this setting only to private spaces that the user creates in the domain. SageMaker doesn’t apply this setting to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-executionrole

jupyter_lab_app_settings

The settings for the JupyterLab application.

SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-jupyterlabappsettings

jupyter_server_app_settings

The Jupyter server’s app settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-jupyterserverappsettings

kernel_gateway_app_settings

The kernel gateway app settings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-kernelgatewayappsettings

r_studio_server_pro_app_settings

A collection of settings that configure user interaction with the RStudioServerPro app.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-rstudioserverproappsettings

security_groups

The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly .

Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly , unless specified as part of the DefaultUserSettings for the domain.

Amazon SageMaker AI adds a security group to allow NFS traffic from Amazon SageMaker AI Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-securitygroups

sharing_settings

Specifies options for sharing Amazon SageMaker AI Studio notebooks.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-sharingsettings

space_storage_settings

The storage settings for a space.

SageMaker applies these settings only to private spaces that the user creates in the domain. SageMaker doesn’t apply these settings to shared spaces.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-spacestoragesettings

studio_web_portal

Whether the user can access Studio.

If this value is set to DISABLED , the user cannot access Studio, even if that is the default experience for the domain.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-studiowebportal

studio_web_portal_settings

Studio settings.

If these settings are applied on a user level, they take priority over the settings applied on a domain level.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html#cfn-sagemaker-userprofile-usersettings-studiowebportalsettings