aws_directoryservicedata_user

Nivis Nix constructor for the aws_directoryservicedata_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,
  directory_id,
  sam_account_name,
  email_address ? null,
  given_name ? null,
  region ? null,
  surname ? null,
  overrides ? {}
}
Required arguments
  • directory_id
  • sam_account_name
Optional arguments
  • email_address (defaults to null)
  • given_name (defaults to null)
  • region (defaults to null)
  • surname (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • distinguished_name
  • enabled
  • realm
  • sid
  • user_principal_name
Example
aws_directoryservicedata_user {
  name = "directoryservicedata_user";
  directory_id = …;  # required
  sam_account_name = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.