UserProfileArgs

data class UserProfileArgs(val domainIdentifier: Output<String>? = null, val status: Output<String>? = null, val timeouts: Output<UserProfileTimeoutsArgs>? = null, val userIdentifier: Output<String>? = null, val userType: Output<String>? = null) : ConvertibleToJava<UserProfileArgs>

Resource for managing an AWS DataZone User Profile.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.datazone.UserProfile("example", {
userIdentifier: exampleAwsIamUser.arn,
domainIdentifier: exampleAwsDatazoneDomain.id,
userType: "IAM_USER",
});
import pulumi
import pulumi_aws as aws
example = aws.datazone.UserProfile("example",
user_identifier=example_aws_iam_user["arn"],
domain_identifier=example_aws_datazone_domain["id"],
user_type="IAM_USER")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.DataZone.UserProfile("example", new()
{
UserIdentifier = exampleAwsIamUser.Arn,
DomainIdentifier = exampleAwsDatazoneDomain.Id,
UserType = "IAM_USER",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datazone.NewUserProfile(ctx, "example", &datazone.UserProfileArgs{
UserIdentifier: pulumi.Any(exampleAwsIamUser.Arn),
DomainIdentifier: pulumi.Any(exampleAwsDatazoneDomain.Id),
UserType: pulumi.String("IAM_USER"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.datazone.UserProfile;
import com.pulumi.aws.datazone.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()
.userIdentifier(exampleAwsIamUser.arn())
.domainIdentifier(exampleAwsDatazoneDomain.id())
.userType("IAM_USER")
.build());
}
}
resources:
example:
type: aws:datazone:UserProfile
properties:
userIdentifier: ${exampleAwsIamUser.arn}
domainIdentifier: ${exampleAwsDatazoneDomain.id}
userType: IAM_USER

Import

Using pulumi import, import DataZone User Profile using the user_identifier,domain_identifier,type. For example:

$ pulumi import aws:datazone/userProfile:UserProfile example arn:aws:iam::123456789012:user/example,dzd_54nakfrg9k6suo,IAM

Constructors

Link copied to clipboard
constructor(domainIdentifier: Output<String>? = null, status: Output<String>? = null, timeouts: Output<UserProfileTimeoutsArgs>? = null, userIdentifier: Output<String>? = null, userType: Output<String>? = null)

Properties

Link copied to clipboard
val domainIdentifier: Output<String>? = null

The domain identifier.

Link copied to clipboard
val status: Output<String>? = null

The user profile status.

Link copied to clipboard
val timeouts: Output<UserProfileTimeoutsArgs>? = null
Link copied to clipboard
val userIdentifier: Output<String>? = null

The user identifier. The following arguments are optional:

Link copied to clipboard
val userType: Output<String>? = null

The user type.

Functions

Link copied to clipboard
open override fun toJava(): UserProfileArgs