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
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.sagemaker.UserProfile("example", {
domainId: test.id,
userProfileName: "example",
});Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.sagemaker.UserProfile("example",
domain_id=test["id"],
user_profile_name="example")Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Sagemaker.UserProfile("example", new()
{
DomainId = test.Id,
UserProfileName = "example",
});
});Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sagemaker.NewUserProfile(ctx, "example", &sagemaker.UserProfileArgs{
DomainId: pulumi.Any(test.Id),
UserProfileName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}Content copied to clipboard
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(test.id())
.userProfileName("example")
.build());
}
}Content copied to clipboard
resources:
example:
type: aws:sagemaker:UserProfile
properties:
domainId: ${test.id}
userProfileName: exampleContent copied to clipboard
Import
Using pulumi import, import SageMaker User Profiles using the arn. For example:
$ pulumi import aws:sagemaker/userProfile:UserProfile test_user_profile arn:aws:sagemaker:us-west-2:123456789012:user-profile/domain-id/profile-nameContent copied to clipboard
Constructors
Link copied to clipboard
fun UserProfileArgs(domainId: Output<String>? = null, singleSignOnUserIdentifier: Output<String>? = null, singleSignOnUserValue: Output<String>? = null, tags: Output<Map<String, String>>? = null, userProfileName: Output<String>? = null, userSettings: Output<UserProfileUserSettingsArgs>? = null)