aws_workspaces_workspace

Nivis 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_id
  • directory_id
  • user_name
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • root_volume_encryption_enabled (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • user_volume_encryption_enabled (defaults to null)
  • volume_encryption_key (defaults to null)
  • timeouts (defaults to null)
  • workspace_properties (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • computer_name
  • ip_address
  • state
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.