aws_workmail_userNivis Nix constructor for the aws_workmail_user resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
display_name,
email,
organization_id,
city ? null,
company ? null,
country ? null,
department ? null,
first_name ? null,
hidden_from_global_address_list ? null,
identity_provider_user_id ? null,
initials ? null,
job_title ? null,
last_name ? null,
cfg_name ? null,
office ? null,
password ? null,
region ? null,
street ? null,
telephone ? null,
user_role ? null,
zip_code ? null,
overrides ? {}
}Required arguments
display_nameemailorganization_id
Optional arguments
city(defaults tonull)company(defaults tonull)country(defaults tonull)department(defaults tonull)first_name(defaults tonull)hidden_from_global_address_list(defaults tonull)identity_provider_user_id(defaults tonull)initials(defaults tonull)job_title(defaults tonull)last_name(defaults tonull)cfg_name(defaults tonull)office(defaults tonull)password(defaults tonull)region(defaults tonull)street(defaults tonull)telephone(defaults tonull)user_role(defaults tonull)zip_code(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
disabled_dateenabled_dateidentity_provider_identity_store_idmailbox_deprovisioned_datemailbox_provisioned_datestateuser_id
Example
aws_workmail_user {
name = "workmail_user";
display_name = …; # required
email = …; # required
organization_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.