aws_sagemaker_workforce

Nivis Nix constructor for the aws_sagemaker_workforce 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,
  workforce_name,
  id ? null,
  region ? null,
  cognito_config ? null,
  oidc_config ? null,
  source_ip_config ? null,
  workforce_vpc_config ? null,
  overrides ? {}
}
Required arguments
  • workforce_name
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • cognito_config (defaults to null)
  • oidc_config (defaults to null)
  • source_ip_config (defaults to null)
  • workforce_vpc_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • subdomain
Example
aws_sagemaker_workforce {
  name = "sagemaker_workforce";
  workforce_name = …;  # required
}

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