Data source
aws.identitystore.User
This is a data source (read-only). Use with the read keyword.
Example
let user = read aws.identitystore.User {
# Replace with the ID of an existing IAM Identity Center identity store.
identity_store_id = 'd-1234567890'
# Replace with the user name to look up in that identity store.
user_name = 'example.user'
}
Lookup Inputs
identity_store_id
-
Required: Yes
-
Type:
String (pattern: /^(arn:aws[a-z\-]*:identitystore::[0-9]{12}:identitystore/)?(d-[0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})$/ (Full), len: 1..=93)
The globally unique identifier for the identity store.
user_id
-
Required: No
-
Type:
String (pattern: /^(arn:aws[a-z\-]*:identitystore:::(user|group|membership)/)?([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$/ (Full), len: 1..=100)
The identifier for the user. Provide either user_id or user_name.
user_name
-
Required: No
-
Type:
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}]+$/ (Full), len: 1..=128)
The user's user name. Provide either user_id or user_name.
Attributes
display_name
- Type:
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024) - Read-only
Display name of the user.
name
- Type: Struct(IdentityStoreUserName)
- Read-only
Structured components of the user's name.
emails
- Type: List<
Email (member constraints: pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024, custom validator)> (items: 1..=1, unordered) - Read-only
Email addresses associated with the user.
Struct Definitions
name
| Field | Type | Required | Description |
|---|---|---|---|
family_name |
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024) |
No | |
formatted |
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024) |
No | |
given_name |
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024) |
No | |
honorific_prefix |
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024) |
No | |
honorific_suffix |
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024) |
No | |
middle_name |
String (pattern: /^[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+$/ (Full), len: 1..=1024) |
No |