CfnUserProfileMixinProps
- class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnUserProfileMixinProps(*, domain_id=None, single_sign_on_user_identifier=None, single_sign_on_user_value=None, tags=None, user_profile_name=None, user_settings=None)
Bases:
objectProperties for CfnUserProfilePropsMixin.
- Parameters:
domain_id (
Optional[str]) – The domain ID.single_sign_on_user_identifier (
Optional[str]) – A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is “UserName”. If the Domain’s AuthMode is IAM Identity Center , this field is required. If the Domain’s AuthMode is not IAM Identity Center , this field cannot be specified.single_sign_on_user_value (
Optional[str]) – The username of the associated AWS Single Sign-On User for this UserProfile. If the Domain’s AuthMode is IAM Identity Center , this field is required, and must match a valid username of a user in your directory. If the Domain’s AuthMode is not IAM Identity Center , this field cannot be specified.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – 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 .user_profile_name (
Optional[str]) – The user profile name.user_settings (
Union[IResolvable,UserSettingsProperty,Dict[str,Any],None]) – A collection of settings that apply to users of Amazon SageMaker Studio.
- See:
- 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 cfn_user_profile_mixin_props = 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"] )] ) ) )
Attributes
- domain_id
The domain ID.
- single_sign_on_user_identifier
A specifier for the type of value specified in SingleSignOnUserValue.
Currently, the only supported value is “UserName”. If the Domain’s AuthMode is IAM Identity Center , this field is required. If the Domain’s AuthMode is not IAM Identity Center , this field cannot be specified.
- single_sign_on_user_value
The username of the associated AWS Single Sign-On User for this UserProfile.
If the Domain’s AuthMode is IAM Identity Center , this field is required, and must match a valid username of a user in your directory. If the Domain’s AuthMode is not IAM Identity Center , this field cannot be specified.
- tags
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 .
- user_profile_name
The user profile name.
- user_settings
A collection of settings that apply to users of Amazon SageMaker Studio.