Package com.pulumi.aws.datazone
Class UserProfile
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.datazone.UserProfile
-
public class UserProfile extends com.pulumi.resources.CustomResourceResource for managing an AWS DataZone User Profile. ## Example Usage ### Basic Usage
## Import ### Identity Schema #### Required * `domainIdentifier` - (String) Identifier of the DataZone domain. * `userIdentifier` - (String) Identifier of the user. #### Optional * `accountId` (String) AWS Account where this resource is managed. * `region` (String) Region where this resource is managed. Using `pulumi import`, import DataZone User Profile using the `user_identifier,domain_identifier,type`. For example: ```sh $ pulumi import aws:datazone/userProfile:UserProfile example arn:aws:iam::123456789012:user/example,dzd_54nakfrg9k6suo,IAM ```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.ArrayList; import java.util.Arrays; 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()); } }
-
-
Constructor Summary
Constructors Constructor Description UserProfile(java.lang.String name)UserProfile(java.lang.String name, UserProfileArgs args)UserProfile(java.lang.String name, UserProfileArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.List<UserProfileDetail>>details()com.pulumi.core.Output<java.lang.String>domainIdentifier()static UserProfileget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, UserProfileState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>status()com.pulumi.core.Output<java.util.Optional<UserProfileTimeouts>>timeouts()com.pulumi.core.Output<java.lang.String>type()com.pulumi.core.Output<java.lang.String>userIdentifier()com.pulumi.core.Output<java.lang.String>userType()
-
-
-
Constructor Detail
-
UserProfile
public UserProfile(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
UserProfile
public UserProfile(java.lang.String name, UserProfileArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
UserProfile
public UserProfile(java.lang.String name, UserProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
details
public com.pulumi.core.Output<java.util.List<UserProfileDetail>> details()
- Returns:
- Details about the user profile.
-
domainIdentifier
public com.pulumi.core.Output<java.lang.String> domainIdentifier()
- Returns:
- The domain identifier.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
status
public com.pulumi.core.Output<java.lang.String> status()
- Returns:
- The user profile status.
-
timeouts
public com.pulumi.core.Output<java.util.Optional<UserProfileTimeouts>> timeouts()
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- The user profile type.
-
userIdentifier
public com.pulumi.core.Output<java.lang.String> userIdentifier()
- Returns:
- The user identifier. The following arguments are optional:
-
userType
public com.pulumi.core.Output<java.lang.String> userType()
- Returns:
- The user type.
-
get
public static UserProfile get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable UserProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-