aws.identitystore.User
Explore with Pulumi AI
This resource manages a User resource within an Identity Store.
Note: If you use an external identity provider or Active Directory as your identity source, use this resource with caution. IAM Identity Center does not support outbound synchronization, so your identity source does not automatically update with the changes that you make to users using this resource.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.identitystore.User("example", {
    identityStoreId: exampleAwsSsoadminInstances.identityStoreIds[0],
    displayName: "John Doe",
    userName: "johndoe",
    name: {
        givenName: "John",
        familyName: "Doe",
    },
    emails: {
        value: "john@example.com",
    },
});
import pulumi
import pulumi_aws as aws
example = aws.identitystore.User("example",
    identity_store_id=example_aws_ssoadmin_instances["identityStoreIds"],
    display_name="John Doe",
    user_name="johndoe",
    name={
        "given_name": "John",
        "family_name": "Doe",
    },
    emails={
        "value": "john@example.com",
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/identitystore"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identitystore.NewUser(ctx, "example", &identitystore.UserArgs{
			IdentityStoreId: pulumi.Any(exampleAwsSsoadminInstances.IdentityStoreIds[0]),
			DisplayName:     pulumi.String("John Doe"),
			UserName:        pulumi.String("johndoe"),
			Name: &identitystore.UserNameArgs{
				GivenName:  pulumi.String("John"),
				FamilyName: pulumi.String("Doe"),
			},
			Emails: &identitystore.UserEmailsArgs{
				Value: pulumi.String("john@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = new Aws.IdentityStore.User("example", new()
    {
        IdentityStoreId = exampleAwsSsoadminInstances.IdentityStoreIds[0],
        DisplayName = "John Doe",
        UserName = "johndoe",
        Name = new Aws.IdentityStore.Inputs.UserNameArgs
        {
            GivenName = "John",
            FamilyName = "Doe",
        },
        Emails = new Aws.IdentityStore.Inputs.UserEmailsArgs
        {
            Value = "john@example.com",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.identitystore.User;
import com.pulumi.aws.identitystore.UserArgs;
import com.pulumi.aws.identitystore.inputs.UserNameArgs;
import com.pulumi.aws.identitystore.inputs.UserEmailsArgs;
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 User("example", UserArgs.builder()
            .identityStoreId(exampleAwsSsoadminInstances.identityStoreIds()[0])
            .displayName("John Doe")
            .userName("johndoe")
            .name(UserNameArgs.builder()
                .givenName("John")
                .familyName("Doe")
                .build())
            .emails(UserEmailsArgs.builder()
                .value("john@example.com")
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:identitystore:User
    properties:
      identityStoreId: ${exampleAwsSsoadminInstances.identityStoreIds[0]}
      displayName: John Doe
      userName: johndoe
      name:
        givenName: John
        familyName: Doe
      emails:
        value: john@example.com
Create User Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new User(name: string, args: UserArgs, opts?: CustomResourceOptions);@overload
def User(resource_name: str,
         args: UserArgs,
         opts: Optional[ResourceOptions] = None)
@overload
def User(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         identity_store_id: Optional[str] = None,
         display_name: Optional[str] = None,
         user_name: Optional[str] = None,
         nickname: Optional[str] = None,
         locale: Optional[str] = None,
         name: Optional[UserNameArgs] = None,
         addresses: Optional[UserAddressesArgs] = None,
         phone_numbers: Optional[UserPhoneNumbersArgs] = None,
         preferred_language: Optional[str] = None,
         profile_url: Optional[str] = None,
         timezone: Optional[str] = None,
         title: Optional[str] = None,
         emails: Optional[UserEmailsArgs] = None,
         user_type: Optional[str] = None)func NewUser(ctx *Context, name string, args UserArgs, opts ...ResourceOption) (*User, error)public User(string name, UserArgs args, CustomResourceOptions? opts = null)type: aws:identitystore:User
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleuserResourceResourceFromIdentitystoreuser = new Aws.IdentityStore.User("exampleuserResourceResourceFromIdentitystoreuser", new()
{
    IdentityStoreId = "string",
    DisplayName = "string",
    UserName = "string",
    Nickname = "string",
    Locale = "string",
    Name = new Aws.IdentityStore.Inputs.UserNameArgs
    {
        FamilyName = "string",
        GivenName = "string",
        Formatted = "string",
        HonorificPrefix = "string",
        HonorificSuffix = "string",
        MiddleName = "string",
    },
    Addresses = new Aws.IdentityStore.Inputs.UserAddressesArgs
    {
        Country = "string",
        Formatted = "string",
        Locality = "string",
        PostalCode = "string",
        Primary = false,
        Region = "string",
        StreetAddress = "string",
        Type = "string",
    },
    PhoneNumbers = new Aws.IdentityStore.Inputs.UserPhoneNumbersArgs
    {
        Primary = false,
        Type = "string",
        Value = "string",
    },
    PreferredLanguage = "string",
    ProfileUrl = "string",
    Timezone = "string",
    Title = "string",
    Emails = new Aws.IdentityStore.Inputs.UserEmailsArgs
    {
        Primary = false,
        Type = "string",
        Value = "string",
    },
    UserType = "string",
});
example, err := identitystore.NewUser(ctx, "exampleuserResourceResourceFromIdentitystoreuser", &identitystore.UserArgs{
	IdentityStoreId: pulumi.String("string"),
	DisplayName:     pulumi.String("string"),
	UserName:        pulumi.String("string"),
	Nickname:        pulumi.String("string"),
	Locale:          pulumi.String("string"),
	Name: &identitystore.UserNameArgs{
		FamilyName:      pulumi.String("string"),
		GivenName:       pulumi.String("string"),
		Formatted:       pulumi.String("string"),
		HonorificPrefix: pulumi.String("string"),
		HonorificSuffix: pulumi.String("string"),
		MiddleName:      pulumi.String("string"),
	},
	Addresses: &identitystore.UserAddressesArgs{
		Country:       pulumi.String("string"),
		Formatted:     pulumi.String("string"),
		Locality:      pulumi.String("string"),
		PostalCode:    pulumi.String("string"),
		Primary:       pulumi.Bool(false),
		Region:        pulumi.String("string"),
		StreetAddress: pulumi.String("string"),
		Type:          pulumi.String("string"),
	},
	PhoneNumbers: &identitystore.UserPhoneNumbersArgs{
		Primary: pulumi.Bool(false),
		Type:    pulumi.String("string"),
		Value:   pulumi.String("string"),
	},
	PreferredLanguage: pulumi.String("string"),
	ProfileUrl:        pulumi.String("string"),
	Timezone:          pulumi.String("string"),
	Title:             pulumi.String("string"),
	Emails: &identitystore.UserEmailsArgs{
		Primary: pulumi.Bool(false),
		Type:    pulumi.String("string"),
		Value:   pulumi.String("string"),
	},
	UserType: pulumi.String("string"),
})
var exampleuserResourceResourceFromIdentitystoreuser = new User("exampleuserResourceResourceFromIdentitystoreuser", UserArgs.builder()
    .identityStoreId("string")
    .displayName("string")
    .userName("string")
    .nickname("string")
    .locale("string")
    .name(UserNameArgs.builder()
        .familyName("string")
        .givenName("string")
        .formatted("string")
        .honorificPrefix("string")
        .honorificSuffix("string")
        .middleName("string")
        .build())
    .addresses(UserAddressesArgs.builder()
        .country("string")
        .formatted("string")
        .locality("string")
        .postalCode("string")
        .primary(false)
        .region("string")
        .streetAddress("string")
        .type("string")
        .build())
    .phoneNumbers(UserPhoneNumbersArgs.builder()
        .primary(false)
        .type("string")
        .value("string")
        .build())
    .preferredLanguage("string")
    .profileUrl("string")
    .timezone("string")
    .title("string")
    .emails(UserEmailsArgs.builder()
        .primary(false)
        .type("string")
        .value("string")
        .build())
    .userType("string")
    .build());
exampleuser_resource_resource_from_identitystoreuser = aws.identitystore.User("exampleuserResourceResourceFromIdentitystoreuser",
    identity_store_id="string",
    display_name="string",
    user_name="string",
    nickname="string",
    locale="string",
    name={
        "family_name": "string",
        "given_name": "string",
        "formatted": "string",
        "honorific_prefix": "string",
        "honorific_suffix": "string",
        "middle_name": "string",
    },
    addresses={
        "country": "string",
        "formatted": "string",
        "locality": "string",
        "postal_code": "string",
        "primary": False,
        "region": "string",
        "street_address": "string",
        "type": "string",
    },
    phone_numbers={
        "primary": False,
        "type": "string",
        "value": "string",
    },
    preferred_language="string",
    profile_url="string",
    timezone="string",
    title="string",
    emails={
        "primary": False,
        "type": "string",
        "value": "string",
    },
    user_type="string")
const exampleuserResourceResourceFromIdentitystoreuser = new aws.identitystore.User("exampleuserResourceResourceFromIdentitystoreuser", {
    identityStoreId: "string",
    displayName: "string",
    userName: "string",
    nickname: "string",
    locale: "string",
    name: {
        familyName: "string",
        givenName: "string",
        formatted: "string",
        honorificPrefix: "string",
        honorificSuffix: "string",
        middleName: "string",
    },
    addresses: {
        country: "string",
        formatted: "string",
        locality: "string",
        postalCode: "string",
        primary: false,
        region: "string",
        streetAddress: "string",
        type: "string",
    },
    phoneNumbers: {
        primary: false,
        type: "string",
        value: "string",
    },
    preferredLanguage: "string",
    profileUrl: "string",
    timezone: "string",
    title: "string",
    emails: {
        primary: false,
        type: "string",
        value: "string",
    },
    userType: "string",
});
type: aws:identitystore:User
properties:
    addresses:
        country: string
        formatted: string
        locality: string
        postalCode: string
        primary: false
        region: string
        streetAddress: string
        type: string
    displayName: string
    emails:
        primary: false
        type: string
        value: string
    identityStoreId: string
    locale: string
    name:
        familyName: string
        formatted: string
        givenName: string
        honorificPrefix: string
        honorificSuffix: string
        middleName: string
    nickname: string
    phoneNumbers:
        primary: false
        type: string
        value: string
    preferredLanguage: string
    profileUrl: string
    timezone: string
    title: string
    userName: string
    userType: string
User Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The User resource accepts the following input properties:
- DisplayName string
- The name that is typically displayed when the user is referenced.
- IdentityStore stringId 
- The globally unique identifier for the identity store that this user is in.
- UserName string
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- Addresses
UserAddresses 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- Emails
UserEmails 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- Locale string
- The user's geographical region or location.
- Name
UserName 
- Details about the user's full name. Detailed below.
- Nickname string
- An alternate name for the user.
- PhoneNumbers UserPhone Numbers 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- PreferredLanguage string
- The preferred language of the user.
- ProfileUrl string
- An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- UserType string
- The user type.
- DisplayName string
- The name that is typically displayed when the user is referenced.
- IdentityStore stringId 
- The globally unique identifier for the identity store that this user is in.
- UserName string
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- Addresses
UserAddresses Args 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- Emails
UserEmails Args 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- Locale string
- The user's geographical region or location.
- Name
UserName Args 
- Details about the user's full name. Detailed below.
- Nickname string
- An alternate name for the user.
- PhoneNumbers UserPhone Numbers Args 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- PreferredLanguage string
- The preferred language of the user.
- ProfileUrl string
- An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- UserType string
- The user type.
- displayName String
- The name that is typically displayed when the user is referenced.
- identityStore StringId 
- The globally unique identifier for the identity store that this user is in.
- userName String
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- addresses
UserAddresses 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- emails
UserEmails 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- locale String
- The user's geographical region or location.
- name
UserName 
- Details about the user's full name. Detailed below.
- nickname String
- An alternate name for the user.
- phoneNumbers UserPhone Numbers 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferredLanguage String
- The preferred language of the user.
- profileUrl String
- An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- userType String
- The user type.
- displayName string
- The name that is typically displayed when the user is referenced.
- identityStore stringId 
- The globally unique identifier for the identity store that this user is in.
- userName string
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- addresses
UserAddresses 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- emails
UserEmails 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- locale string
- The user's geographical region or location.
- name
UserName 
- Details about the user's full name. Detailed below.
- nickname string
- An alternate name for the user.
- phoneNumbers UserPhone Numbers 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferredLanguage string
- The preferred language of the user.
- profileUrl string
- An URL that may be associated with the user.
- timezone string
- The user's time zone.
- title string
- The user's title.
- userType string
- The user type.
- display_name str
- The name that is typically displayed when the user is referenced.
- identity_store_ strid 
- The globally unique identifier for the identity store that this user is in.
- user_name str
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- addresses
UserAddresses Args 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- emails
UserEmails Args 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- locale str
- The user's geographical region or location.
- name
UserName Args 
- Details about the user's full name. Detailed below.
- nickname str
- An alternate name for the user.
- phone_numbers UserPhone Numbers Args 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred_language str
- The preferred language of the user.
- profile_url str
- An URL that may be associated with the user.
- timezone str
- The user's time zone.
- title str
- The user's title.
- user_type str
- The user type.
- displayName String
- The name that is typically displayed when the user is referenced.
- identityStore StringId 
- The globally unique identifier for the identity store that this user is in.
- userName String
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- addresses Property Map
- Details about the user's address. At most 1 address is allowed. Detailed below.
- emails Property Map
- Details about the user's email. At most 1 email is allowed. Detailed below.
- locale String
- The user's geographical region or location.
- name Property Map
- Details about the user's full name. Detailed below.
- nickname String
- An alternate name for the user.
- phoneNumbers Property Map
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferredLanguage String
- The preferred language of the user.
- profileUrl String
- An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- userType String
- The user type.
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
- ExternalIds List<UserExternal Id> 
- A list of identifiers issued to this resource by an external identity provider.
- Id string
- The provider-assigned unique ID for this managed resource.
- UserId string
- The identifier for this user in the identity store.
- ExternalIds []UserExternal Id 
- A list of identifiers issued to this resource by an external identity provider.
- Id string
- The provider-assigned unique ID for this managed resource.
- UserId string
- The identifier for this user in the identity store.
- externalIds List<UserExternal Id> 
- A list of identifiers issued to this resource by an external identity provider.
- id String
- The provider-assigned unique ID for this managed resource.
- userId String
- The identifier for this user in the identity store.
- externalIds UserExternal Id[] 
- A list of identifiers issued to this resource by an external identity provider.
- id string
- The provider-assigned unique ID for this managed resource.
- userId string
- The identifier for this user in the identity store.
- external_ids Sequence[UserExternal Id] 
- A list of identifiers issued to this resource by an external identity provider.
- id str
- The provider-assigned unique ID for this managed resource.
- user_id str
- The identifier for this user in the identity store.
- externalIds List<Property Map>
- A list of identifiers issued to this resource by an external identity provider.
- id String
- The provider-assigned unique ID for this managed resource.
- userId String
- The identifier for this user in the identity store.
Look up Existing User Resource
Get an existing User resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: UserState, opts?: CustomResourceOptions): User@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addresses: Optional[UserAddressesArgs] = None,
        display_name: Optional[str] = None,
        emails: Optional[UserEmailsArgs] = None,
        external_ids: Optional[Sequence[UserExternalIdArgs]] = None,
        identity_store_id: Optional[str] = None,
        locale: Optional[str] = None,
        name: Optional[UserNameArgs] = None,
        nickname: Optional[str] = None,
        phone_numbers: Optional[UserPhoneNumbersArgs] = None,
        preferred_language: Optional[str] = None,
        profile_url: Optional[str] = None,
        timezone: Optional[str] = None,
        title: Optional[str] = None,
        user_id: Optional[str] = None,
        user_name: Optional[str] = None,
        user_type: Optional[str] = None) -> Userfunc GetUser(ctx *Context, name string, id IDInput, state *UserState, opts ...ResourceOption) (*User, error)public static User Get(string name, Input<string> id, UserState? state, CustomResourceOptions? opts = null)public static User get(String name, Output<String> id, UserState state, CustomResourceOptions options)resources:  _:    type: aws:identitystore:User    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Addresses
UserAddresses 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- DisplayName string
- The name that is typically displayed when the user is referenced.
- Emails
UserEmails 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- ExternalIds List<UserExternal Id> 
- A list of identifiers issued to this resource by an external identity provider.
- IdentityStore stringId 
- The globally unique identifier for the identity store that this user is in.
- Locale string
- The user's geographical region or location.
- Name
UserName 
- Details about the user's full name. Detailed below.
- Nickname string
- An alternate name for the user.
- PhoneNumbers UserPhone Numbers 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- PreferredLanguage string
- The preferred language of the user.
- ProfileUrl string
- An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- UserId string
- The identifier for this user in the identity store.
- UserName string
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- UserType string
- The user type.
- Addresses
UserAddresses Args 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- DisplayName string
- The name that is typically displayed when the user is referenced.
- Emails
UserEmails Args 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- ExternalIds []UserExternal Id Args 
- A list of identifiers issued to this resource by an external identity provider.
- IdentityStore stringId 
- The globally unique identifier for the identity store that this user is in.
- Locale string
- The user's geographical region or location.
- Name
UserName Args 
- Details about the user's full name. Detailed below.
- Nickname string
- An alternate name for the user.
- PhoneNumbers UserPhone Numbers Args 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- PreferredLanguage string
- The preferred language of the user.
- ProfileUrl string
- An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- UserId string
- The identifier for this user in the identity store.
- UserName string
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- UserType string
- The user type.
- addresses
UserAddresses 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- displayName String
- The name that is typically displayed when the user is referenced.
- emails
UserEmails 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- externalIds List<UserExternal Id> 
- A list of identifiers issued to this resource by an external identity provider.
- identityStore StringId 
- The globally unique identifier for the identity store that this user is in.
- locale String
- The user's geographical region or location.
- name
UserName 
- Details about the user's full name. Detailed below.
- nickname String
- An alternate name for the user.
- phoneNumbers UserPhone Numbers 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferredLanguage String
- The preferred language of the user.
- profileUrl String
- An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- userId String
- The identifier for this user in the identity store.
- userName String
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- userType String
- The user type.
- addresses
UserAddresses 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- displayName string
- The name that is typically displayed when the user is referenced.
- emails
UserEmails 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- externalIds UserExternal Id[] 
- A list of identifiers issued to this resource by an external identity provider.
- identityStore stringId 
- The globally unique identifier for the identity store that this user is in.
- locale string
- The user's geographical region or location.
- name
UserName 
- Details about the user's full name. Detailed below.
- nickname string
- An alternate name for the user.
- phoneNumbers UserPhone Numbers 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferredLanguage string
- The preferred language of the user.
- profileUrl string
- An URL that may be associated with the user.
- timezone string
- The user's time zone.
- title string
- The user's title.
- userId string
- The identifier for this user in the identity store.
- userName string
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- userType string
- The user type.
- addresses
UserAddresses Args 
- Details about the user's address. At most 1 address is allowed. Detailed below.
- display_name str
- The name that is typically displayed when the user is referenced.
- emails
UserEmails Args 
- Details about the user's email. At most 1 email is allowed. Detailed below.
- external_ids Sequence[UserExternal Id Args] 
- A list of identifiers issued to this resource by an external identity provider.
- identity_store_ strid 
- The globally unique identifier for the identity store that this user is in.
- locale str
- The user's geographical region or location.
- name
UserName Args 
- Details about the user's full name. Detailed below.
- nickname str
- An alternate name for the user.
- phone_numbers UserPhone Numbers Args 
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred_language str
- The preferred language of the user.
- profile_url str
- An URL that may be associated with the user.
- timezone str
- The user's time zone.
- title str
- The user's title.
- user_id str
- The identifier for this user in the identity store.
- user_name str
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- user_type str
- The user type.
- addresses Property Map
- Details about the user's address. At most 1 address is allowed. Detailed below.
- displayName String
- The name that is typically displayed when the user is referenced.
- emails Property Map
- Details about the user's email. At most 1 email is allowed. Detailed below.
- externalIds List<Property Map>
- A list of identifiers issued to this resource by an external identity provider.
- identityStore StringId 
- The globally unique identifier for the identity store that this user is in.
- locale String
- The user's geographical region or location.
- name Property Map
- Details about the user's full name. Detailed below.
- nickname String
- An alternate name for the user.
- phoneNumbers Property Map
- Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferredLanguage String
- The preferred language of the user.
- profileUrl String
- An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- userId String
- The identifier for this user in the identity store.
- userName String
- A unique string used to identify the user. This value can consist of letters, accented characters, symbols, numbers, and punctuation. This value is specified at the time the user is created and stored as an attribute of the user object in the identity store. The limit is 128 characters. - The following arguments are optional: 
- userType String
- The user type.
Supporting Types
UserAddresses, UserAddressesArgs    
- Country string
- The country that this address is in.
- Formatted string
- The name that is typically displayed when the address is shown for display.
- Locality string
- The address locality.
- PostalCode string
- The postal code of the address.
- Primary bool
- When true, this is the primary address associated with the user.
- Region string
- The region of the address.
- StreetAddress string
- The street of the address.
- Type string
- The type of address.
- Country string
- The country that this address is in.
- Formatted string
- The name that is typically displayed when the address is shown for display.
- Locality string
- The address locality.
- PostalCode string
- The postal code of the address.
- Primary bool
- When true, this is the primary address associated with the user.
- Region string
- The region of the address.
- StreetAddress string
- The street of the address.
- Type string
- The type of address.
- country String
- The country that this address is in.
- formatted String
- The name that is typically displayed when the address is shown for display.
- locality String
- The address locality.
- postalCode String
- The postal code of the address.
- primary Boolean
- When true, this is the primary address associated with the user.
- region String
- The region of the address.
- streetAddress String
- The street of the address.
- type String
- The type of address.
- country string
- The country that this address is in.
- formatted string
- The name that is typically displayed when the address is shown for display.
- locality string
- The address locality.
- postalCode string
- The postal code of the address.
- primary boolean
- When true, this is the primary address associated with the user.
- region string
- The region of the address.
- streetAddress string
- The street of the address.
- type string
- The type of address.
- country str
- The country that this address is in.
- formatted str
- The name that is typically displayed when the address is shown for display.
- locality str
- The address locality.
- postal_code str
- The postal code of the address.
- primary bool
- When true, this is the primary address associated with the user.
- region str
- The region of the address.
- street_address str
- The street of the address.
- type str
- The type of address.
- country String
- The country that this address is in.
- formatted String
- The name that is typically displayed when the address is shown for display.
- locality String
- The address locality.
- postalCode String
- The postal code of the address.
- primary Boolean
- When true, this is the primary address associated with the user.
- region String
- The region of the address.
- streetAddress String
- The street of the address.
- type String
- The type of address.
UserEmails, UserEmailsArgs    
UserExternalId, UserExternalIdArgs      
UserName, UserNameArgs    
- FamilyName string
- The family name of the user.
- GivenName string
- The given name of the user. - The following arguments are optional: 
- Formatted string
- The name that is typically displayed when the name is shown for display.
- HonorificPrefix string
- The honorific prefix of the user.
- HonorificSuffix string
- The honorific suffix of the user.
- MiddleName string
- The middle name of the user.
- FamilyName string
- The family name of the user.
- GivenName string
- The given name of the user. - The following arguments are optional: 
- Formatted string
- The name that is typically displayed when the name is shown for display.
- HonorificPrefix string
- The honorific prefix of the user.
- HonorificSuffix string
- The honorific suffix of the user.
- MiddleName string
- The middle name of the user.
- familyName String
- The family name of the user.
- givenName String
- The given name of the user. - The following arguments are optional: 
- formatted String
- The name that is typically displayed when the name is shown for display.
- honorificPrefix String
- The honorific prefix of the user.
- honorificSuffix String
- The honorific suffix of the user.
- middleName String
- The middle name of the user.
- familyName string
- The family name of the user.
- givenName string
- The given name of the user. - The following arguments are optional: 
- formatted string
- The name that is typically displayed when the name is shown for display.
- honorificPrefix string
- The honorific prefix of the user.
- honorificSuffix string
- The honorific suffix of the user.
- middleName string
- The middle name of the user.
- family_name str
- The family name of the user.
- given_name str
- The given name of the user. - The following arguments are optional: 
- formatted str
- The name that is typically displayed when the name is shown for display.
- honorific_prefix str
- The honorific prefix of the user.
- honorific_suffix str
- The honorific suffix of the user.
- middle_name str
- The middle name of the user.
- familyName String
- The family name of the user.
- givenName String
- The given name of the user. - The following arguments are optional: 
- formatted String
- The name that is typically displayed when the name is shown for display.
- honorificPrefix String
- The honorific prefix of the user.
- honorificSuffix String
- The honorific suffix of the user.
- middleName String
- The middle name of the user.
UserPhoneNumbers, UserPhoneNumbersArgs      
Import
Using pulumi import, import an Identity Store User using the combination identity_store_id/user_id. For example:
$ pulumi import aws:identitystore/user:User example d-9c6705e95c/065212b4-9061-703b-5876-13a517ae2a7c
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.