aws_workspaces_workspaceNivis Nix constructor for the aws_workspaces_workspace 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,
bundle_id,
directory_id,
user_name,
id ? null,
region ? null,
root_volume_encryption_enabled ? null,
tags ? null,
tags_all ? null,
user_volume_encryption_enabled ? null,
volume_encryption_key ? null,
timeouts ? null,
workspace_properties ? null,
overrides ? {}
}Required arguments
bundle_iddirectory_iduser_name
Optional arguments
id(defaults tonull)region(defaults tonull)root_volume_encryption_enabled(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)user_volume_encryption_enabled(defaults tonull)volume_encryption_key(defaults tonull)timeouts(defaults tonull)workspace_properties(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
computer_nameip_addressstate
Example
aws_workspaces_workspace {
name = "workspaces_workspace";
bundle_id = …; # required
directory_id = …; # required
user_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.