tencentcloud_mqtt_authorization_policy

Nivis Nix constructor for the tencentcloud_mqtt_authorization_policy resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  actions,
  effect,
  instance_id,
  policy_name,
  policy_version,
  priority,
  qos,
  retain,
  client_id ? null,
  id ? null,
  ip ? null,
  remark ? null,
  resources ? null,
  username ? null,
  overrides ? {}
}
Required arguments
  • actions
  • effect
  • instance_id
  • policy_name
  • policy_version
  • priority
  • qos
  • retain
Optional arguments
  • client_id (defaults to null)
  • id (defaults to null)
  • ip (defaults to null)
  • remark (defaults to null)
  • resources (defaults to null)
  • username (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • policy_id
Example
tencentcloud_mqtt_authorization_policy {
  name = "mqtt_authorization_policy";
  actions = …;  # required
  effect = …;  # required
  instance_id = …;  # required
  policy_name = …;  # required
  policy_version = …;  # required
  priority = …;  # required
  qos = …;  # required
  retain = …;  # required
}

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