User Profile Args
data class UserProfileArgs(val domainId: Output<String>? = null, val singleSignOnUserIdentifier: Output<String>? = null, val singleSignOnUserValue: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val userProfileName: Output<String>? = null, val userSettings: Output<UserProfileUserSettingsArgs>? = null) : ConvertibleToJava<UserProfileArgs>
Provides a SageMaker User Profile resource.
Example Usage
Basic usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.UserProfile;
import com.pulumi.aws.sagemaker.UserProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new UserProfile("example", UserProfileArgs.builder()
.domainId(aws_sagemaker_domain.test().id())
.userProfileName("example")
.build());
}
}
Content copied to clipboard
Import
SageMaker User Profiles can be imported using the arn
, e.g.,
$ pulumi import aws:sagemaker/userProfile:UserProfile test_user_profile arn:aws:sagemaker:us-west-2:123456789012:user-profile/domain-id/profile-name
Content copied to clipboard
Properties
Link copied to clipboard
A specifier for the type of value specified in single_sign_on_user_value
. 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.
Link copied to clipboard
The username of the associated AWS Single Sign-On User for this User Profile. 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.
Link copied to clipboard
The name for the User Profile.
Link copied to clipboard
The user settings. See User Settings below.