interface CfnUserProfileProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnUserProfileProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnUserProfileProps |
![]() | software.amazon.awscdk.services.sagemaker.CfnUserProfileProps |
![]() | aws_cdk.aws_sagemaker.CfnUserProfileProps |
![]() | aws-cdk-lib » aws_sagemaker » CfnUserProfileProps |
Properties for defining a CfnUserProfile
.
Example
// 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: {
codeEditorAppSettings: {
appLifecycleManagement: {
idleSettings: {
idleTimeoutInMinutes: 123,
lifecycleManagement: 'lifecycleManagement',
maxIdleTimeoutInMinutes: 123,
minIdleTimeoutInMinutes: 123,
},
},
customImages: [{
appImageConfigName: 'appImageConfigName',
imageName: 'imageName',
// the properties below are optional
imageVersionNumber: 123,
}],
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
lifecycleConfigArns: ['lifecycleConfigArns'],
},
customFileSystemConfigs: [{
efsFileSystemConfig: {
fileSystemId: 'fileSystemId',
// the properties below are optional
fileSystemPath: 'fileSystemPath',
},
fSxLustreFileSystemConfig: {
fileSystemId: 'fileSystemId',
// the properties below are optional
fileSystemPath: 'fileSystemPath',
},
}],
customPosixUserConfig: {
gid: 123,
uid: 123,
},
defaultLandingUri: 'defaultLandingUri',
executionRole: 'executionRole',
jupyterLabAppSettings: {
appLifecycleManagement: {
idleSettings: {
idleTimeoutInMinutes: 123,
lifecycleManagement: 'lifecycleManagement',
maxIdleTimeoutInMinutes: 123,
minIdleTimeoutInMinutes: 123,
},
},
codeRepositories: [{
repositoryUrl: 'repositoryUrl',
}],
customImages: [{
appImageConfigName: 'appImageConfigName',
imageName: 'imageName',
// the properties below are optional
imageVersionNumber: 123,
}],
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
lifecycleConfigArns: ['lifecycleConfigArns'],
},
jupyterServerAppSettings: {
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
lifecycleConfigArns: ['lifecycleConfigArns'],
},
kernelGatewayAppSettings: {
customImages: [{
appImageConfigName: 'appImageConfigName',
imageName: 'imageName',
// the properties below are optional
imageVersionNumber: 123,
}],
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
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'],
hiddenMlTools: ['hiddenMlTools'],
},
},
};
Properties
Name | Type | Description |
---|---|---|
domain | string | The domain ID. |
user | string | The user profile name. |
single | string | A specifier for the type of value specified in SingleSignOnUserValue. |
single | string | The username of the associated AWS Single Sign-On User for this UserProfile. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
user | IResolvable | User | A collection of settings that apply to users of Amazon SageMaker Studio. |
domainId
Type:
string
The domain ID.
userProfileName
Type:
string
The user profile name.
singleSignOnUserIdentifier?
Type:
string
(optional)
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.
singleSignOnUserValue?
Type:
string
(optional)
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?
Type:
Cfn
[]
(optional)
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 .
userSettings?
Type:
IResolvable
|
User
(optional)
A collection of settings that apply to users of Amazon SageMaker Studio.