Class: Aws::SageMaker::Types::CreateUserProfileRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::CreateUserProfileRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sagemaker/types.rb
Overview
When making an API call, you may pass CreateUserProfileRequest data as a hash:
{
domain_id: "DomainId", # required
user_profile_name: "UserProfileName", # required
single_sign_on_user_identifier: "SingleSignOnUserIdentifier",
single_sign_on_user_value: "String256",
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
user_settings: {
execution_role: "RoleArn",
security_groups: ["SecurityGroupId"],
sharing_settings: {
notebook_output_option: "Allowed", # accepts Allowed, Disabled
s3_output_path: "S3Uri",
s3_kms_key_id: "KmsKeyId",
},
jupyter_server_app_settings: {
default_resource_spec: {
environment_arn: "EnvironmentArn",
instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
},
},
kernel_gateway_app_settings: {
default_resource_spec: {
environment_arn: "EnvironmentArn",
instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
},
},
tensor_board_app_settings: {
default_resource_spec: {
environment_arn: "EnvironmentArn",
instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
},
},
},
}
Instance Attribute Summary collapse
-
#domain_id ⇒ String
The ID of the associated Domain.
-
#single_sign_on_user_identifier ⇒ String
A specifier for the type of value specified in SingleSignOnUserValue.
-
#single_sign_on_user_value ⇒ String
The username of the associated AWS Single Sign-On User for this UserProfile.
-
#tags ⇒ Array<Types::Tag>
Each tag consists of a key and an optional value.
-
#user_profile_name ⇒ String
A name for the UserProfile.
-
#user_settings ⇒ Types::UserSettings
A collection of settings.
Instance Attribute Details
#domain_id ⇒ String
The ID of the associated Domain.
5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 5140 class CreateUserProfileRequest < Struct.new( :domain_id, :user_profile_name, :single_sign_on_user_identifier, :single_sign_on_user_value, :tags, :user_settings) include Aws::Structure end |
#single_sign_on_user_identifier ⇒ String
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is “UserName”. If the Domain’s AuthMode is SSO, this field is required. If the Domain’s AuthMode is not SSO, this field cannot be specified.
5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 5140 class CreateUserProfileRequest < Struct.new( :domain_id, :user_profile_name, :single_sign_on_user_identifier, :single_sign_on_user_value, :tags, :user_settings) include Aws::Structure end |
#single_sign_on_user_value ⇒ String
The username of the associated AWS Single Sign-On User for this UserProfile. If the Domain’s AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain’s AuthMode is not SSO, this field cannot be specified.
5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 5140 class CreateUserProfileRequest < Struct.new( :domain_id, :user_profile_name, :single_sign_on_user_identifier, :single_sign_on_user_value, :tags, :user_settings) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 5140 class CreateUserProfileRequest < Struct.new( :domain_id, :user_profile_name, :single_sign_on_user_identifier, :single_sign_on_user_value, :tags, :user_settings) include Aws::Structure end |
#user_profile_name ⇒ String
A name for the UserProfile.
5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 5140 class CreateUserProfileRequest < Struct.new( :domain_id, :user_profile_name, :single_sign_on_user_identifier, :single_sign_on_user_value, :tags, :user_settings) include Aws::Structure end |
#user_settings ⇒ Types::UserSettings
A collection of settings.
5140 5141 5142 5143 5144 5145 5146 5147 5148 |
# File 'lib/aws-sdk-sagemaker/types.rb', line 5140 class CreateUserProfileRequest < Struct.new( :domain_id, :user_profile_name, :single_sign_on_user_identifier, :single_sign_on_user_value, :tags, :user_settings) include Aws::Structure end |