AWS Amazon SageMaker User Profile
This page shows how to write Terraform and CloudFormation for Amazon SageMaker User Profile and write them securely.
aws_sagemaker_user_profile (Terraform)
The User Profile in Amazon SageMaker can be configured in Terraform with the resource name aws_sagemaker_user_profile
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_sagemaker_user_profile" "sagemaker_user_profile" {
user_profile_name = "datascientist"
domain_id = aws_sagemaker_domain.domain.id
#single_sign_on_user_value = var.sagemaker_user_profile_single_sign_on_user_value
resource "aws_sagemaker_user_profile" "user" {
for_each = { for user in local.user_profiles : user.name => user }
domain_id = aws_sagemaker_domain.studio.0.id
user_profile_name = format("%s", local.name)
user_settings {
execution_role = aws_iam_role.ni.arn
Parameters
-
arn
optional computed - string -
domain_id
required - string -
home_efs_file_system_uid
optional computed - string -
id
optional computed - string -
single_sign_on_user_identifier
optional - string -
single_sign_on_user_value
optional - string -
tags
optional - map from string to string -
user_profile_name
required - string -
user_settings
list block-
execution_role
required - string -
security_groups
optional - set of string -
jupyter_server_app_settings
list block-
default_resource_spec
list block-
instance_type
optional - string -
sagemaker_image_arn
optional - string
-
-
-
kernel_gateway_app_settings
list block-
custom_image
list block-
app_image_config_name
required - string -
image_name
required - string -
image_version_number
optional - number
-
-
default_resource_spec
list block-
instance_type
optional - string -
sagemaker_image_arn
optional - string
-
-
-
sharing_settings
list block-
notebook_output_option
optional - string -
s3_kms_key_id
optional - string -
s3_output_path
optional - string
-
-
tensor_board_app_settings
list block-
default_resource_spec
list block-
instance_type
optional - string -
sagemaker_image_arn
optional - string
-
-
-
Explanation in Terraform Registry
Provides a Sagemaker User Profile resource.
AWS::SageMaker::UserProfile (CloudFormation)
The UserProfile in SageMaker can be configured in CloudFormation with the resource name AWS::SageMaker::UserProfile
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
DomainId
required - String -
SingleSignOnUserIdentifier
optional - String -
SingleSignOnUserValue
optional - String -
UserProfileName
required - String -
UserSettings
optional - UserSettings -
Tags
optional - List of Tag
Explanation in CloudFormation Registry
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 SSO, 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.
Frequently asked questions
What is AWS Amazon SageMaker User Profile?
AWS Amazon SageMaker User Profile is a resource for Amazon SageMaker of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS Amazon SageMaker User Profile?
For Terraform, the DNXLabs/terraform-aws-sagemaker and Young-ook/terraform-aws-sagemaker source code examples are useful. See the Terraform Example section for further details.