Try AWS Native preview for resources not in the classic version.
aws.identitystore.User
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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={
"givenName": "John",
"familyName": "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={
"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",
},
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
The User resource accepts the following input properties:
- Display
Name string - The name that is typically displayed when the user is referenced.
- Identity
Store stringId - The globally unique identifier for the identity store that this user is in.
- User
Name 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
User
Addresses - Details about the user's address. At most 1 address is allowed. Detailed below.
- Emails
User
Emails - Details about the user's email. At most 1 email is allowed. Detailed below.
- Locale string
- The user's geographical region or location.
- Name
User
Name - Details about the user's full name. Detailed below.
- Nickname string
- An alternate name for the user.
- Phone
Numbers UserPhone Numbers - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- Preferred
Language string - The preferred language of the user.
- Profile
Url string - An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- User
Type string - The user type.
- Display
Name string - The name that is typically displayed when the user is referenced.
- Identity
Store stringId - The globally unique identifier for the identity store that this user is in.
- User
Name 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
User
Addresses Args - Details about the user's address. At most 1 address is allowed. Detailed below.
- Emails
User
Emails 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
User
Name Args - Details about the user's full name. Detailed below.
- Nickname string
- 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 string - The preferred language of the user.
- Profile
Url string - An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- User
Type string - The user type.
- display
Name String - The name that is typically displayed when the user is referenced.
- identity
Store StringId - The globally unique identifier for the identity store that this user is in.
- user
Name 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
User
Addresses - Details about the user's address. At most 1 address is allowed. Detailed below.
- emails
User
Emails - Details about the user's email. At most 1 email is allowed. Detailed below.
- locale String
- The user's geographical region or location.
- name
User
Name - Details about the user's full name. Detailed below.
- nickname String
- An alternate name for the user.
- phone
Numbers UserPhone Numbers - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred
Language String - The preferred language of the user.
- profile
Url String - An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- user
Type String - The user type.
- display
Name string - The name that is typically displayed when the user is referenced.
- identity
Store stringId - The globally unique identifier for the identity store that this user is in.
- user
Name 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
User
Addresses - Details about the user's address. At most 1 address is allowed. Detailed below.
- emails
User
Emails - Details about the user's email. At most 1 email is allowed. Detailed below.
- locale string
- The user's geographical region or location.
- name
User
Name - Details about the user's full name. Detailed below.
- nickname string
- An alternate name for the user.
- phone
Numbers UserPhone Numbers - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred
Language string - The preferred language of the user.
- profile
Url string - An URL that may be associated with the user.
- timezone string
- The user's time zone.
- title string
- The user's title.
- user
Type 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
User
Addresses Args - Details about the user's address. At most 1 address is allowed. Detailed below.
- emails
User
Emails 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
User
Name 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.
- display
Name String - The name that is typically displayed when the user is referenced.
- identity
Store StringId - The globally unique identifier for the identity store that this user is in.
- user
Name 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.
- phone
Numbers Property Map - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred
Language String - The preferred language of the user.
- profile
Url String - An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- user
Type String - The user type.
Outputs
All input properties are implicitly available as output properties. Additionally, the User resource produces the following output properties:
- External
Ids 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.
- User
Id string - The identifier for this user in the identity store.
- External
Ids []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.
- User
Id string - The identifier for this user in the identity store.
- external
Ids 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.
- user
Id String - The identifier for this user in the identity store.
- external
Ids 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.
- user
Id 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.
- external
Ids 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.
- user
Id 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) -> User
func 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)
Resource lookup is not supported in YAML
- 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
User
Addresses - Details about the user's address. At most 1 address is allowed. Detailed below.
- Display
Name string - The name that is typically displayed when the user is referenced.
- Emails
User
Emails - Details about the user's email. At most 1 email is allowed. Detailed below.
- External
Ids List<UserExternal Id> - A list of identifiers issued to this resource by an external identity provider.
- Identity
Store stringId - The globally unique identifier for the identity store that this user is in.
- Locale string
- The user's geographical region or location.
- Name
User
Name - Details about the user's full name. Detailed below.
- Nickname string
- An alternate name for the user.
- Phone
Numbers UserPhone Numbers - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- Preferred
Language string - The preferred language of the user.
- Profile
Url string - An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- User
Id string - The identifier for this user in the identity store.
- User
Name 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:
- User
Type string - The user type.
- Addresses
User
Addresses Args - Details about the user's address. At most 1 address is allowed. Detailed below.
- Display
Name string - The name that is typically displayed when the user is referenced.
- Emails
User
Emails Args - Details about the user's email. At most 1 email is allowed. Detailed below.
- External
Ids []UserExternal Id Args - A list of identifiers issued to this resource by an external identity provider.
- Identity
Store stringId - The globally unique identifier for the identity store that this user is in.
- Locale string
- The user's geographical region or location.
- Name
User
Name Args - Details about the user's full name. Detailed below.
- Nickname string
- 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 string - The preferred language of the user.
- Profile
Url string - An URL that may be associated with the user.
- Timezone string
- The user's time zone.
- Title string
- The user's title.
- User
Id string - The identifier for this user in the identity store.
- User
Name 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:
- User
Type string - The user type.
- addresses
User
Addresses - Details about the user's address. At most 1 address is allowed. Detailed below.
- display
Name String - The name that is typically displayed when the user is referenced.
- emails
User
Emails - Details about the user's email. At most 1 email is allowed. Detailed below.
- external
Ids List<UserExternal Id> - A list of identifiers issued to this resource by an external identity provider.
- identity
Store StringId - The globally unique identifier for the identity store that this user is in.
- locale String
- The user's geographical region or location.
- name
User
Name - Details about the user's full name. Detailed below.
- nickname String
- An alternate name for the user.
- phone
Numbers UserPhone Numbers - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred
Language String - The preferred language of the user.
- profile
Url String - An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- user
Id String - The identifier for this user in the identity store.
- user
Name 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:
- user
Type String - The user type.
- addresses
User
Addresses - Details about the user's address. At most 1 address is allowed. Detailed below.
- display
Name string - The name that is typically displayed when the user is referenced.
- emails
User
Emails - Details about the user's email. At most 1 email is allowed. Detailed below.
- external
Ids UserExternal Id[] - A list of identifiers issued to this resource by an external identity provider.
- identity
Store stringId - The globally unique identifier for the identity store that this user is in.
- locale string
- The user's geographical region or location.
- name
User
Name - Details about the user's full name. Detailed below.
- nickname string
- An alternate name for the user.
- phone
Numbers UserPhone Numbers - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred
Language string - The preferred language of the user.
- profile
Url string - An URL that may be associated with the user.
- timezone string
- The user's time zone.
- title string
- The user's title.
- user
Id string - The identifier for this user in the identity store.
- user
Name 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:
- user
Type string - The user type.
- addresses
User
Addresses 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
User
Emails 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
User
Name 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.
- display
Name 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.
- external
Ids List<Property Map> - A list of identifiers issued to this resource by an external identity provider.
- identity
Store 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.
- phone
Numbers Property Map - Details about the user's phone number. At most 1 phone number is allowed. Detailed below.
- preferred
Language String - The preferred language of the user.
- profile
Url String - An URL that may be associated with the user.
- timezone String
- The user's time zone.
- title String
- The user's title.
- user
Id String - The identifier for this user in the identity store.
- user
Name 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:
- user
Type 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.
- Postal
Code 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.
- Street
Address 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.
- Postal
Code 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.
- Street
Address 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.
- postal
Code 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.
- street
Address 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.
- postal
Code 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.
- street
Address 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.
- postal
Code 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.
- street
Address String - The street of the address.
- type String
- The type of address.
UserEmails, UserEmailsArgs
UserExternalId, UserExternalIdArgs
UserName, UserNameArgs
- Family
Name string - The family name of the user.
- Given
Name 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.
- Honorific
Prefix string - The honorific prefix of the user.
- Honorific
Suffix string - The honorific suffix of the user.
- Middle
Name string - The middle name of the user.
- Family
Name string - The family name of the user.
- Given
Name 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.
- Honorific
Prefix string - The honorific prefix of the user.
- Honorific
Suffix string - The honorific suffix of the user.
- Middle
Name string - The middle name of the user.
- family
Name String - The family name of the user.
- given
Name 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.
- honorific
Prefix String - The honorific prefix of the user.
- honorific
Suffix String - The honorific suffix of the user.
- middle
Name String - The middle name of the user.
- family
Name string - The family name of the user.
- given
Name 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.
- honorific
Prefix string - The honorific prefix of the user.
- honorific
Suffix string - The honorific suffix of the user.
- middle
Name 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.
- family
Name String - The family name of the user.
- given
Name 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.
- honorific
Prefix String - The honorific prefix of the user.
- honorific
Suffix String - The honorific suffix of the user.
- middle
Name 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
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.