tencentcloud_cam_role_policy_attachment

Nivis Nix constructor for the tencentcloud_cam_role_policy_attachment 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, policy_id, role_id, id ? null, overrides ? {} }
Required arguments
  • policy_id
  • role_id
Optional arguments
  • id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_mode
  • create_time
  • policy_name
  • policy_type
Example
tencentcloud_cam_role_policy_attachment {
  name = "cam_role_policy_attachment";
  policy_id = …;  # required
  role_id = …;  # required
}

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