aws_iam_virtual_mfa_device

Nivis Nix constructor for the aws_iam_virtual_mfa_device 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,
  virtual_mfa_device_name,
  id ? null,
  path ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments
  • virtual_mfa_device_name
Optional arguments
  • id (defaults to null)
  • path (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • base_32_string_seed
  • enable_date
  • qr_code_png
  • serial_number
  • user_name
Example
aws_iam_virtual_mfa_device {
  name = "iam_virtual_mfa_device";
  virtual_mfa_device_name = …;  # required
}

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