tencentcloud_cfw_edge_policy

Nivis Nix constructor for the tencentcloud_cfw_edge_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,
  direction,
  port,
  protocol,
  rule_action,
  source_content,
  source_type,
  target_content,
  target_type,
  description ? null,
  enable ? null,
  id ? null,
  param_template_id ? null,
  scope ? null,
  overrides ? {}
}
Required arguments
  • direction
  • port
  • protocol
  • rule_action
  • source_content
  • source_type
  • target_content
  • target_type
Optional arguments
  • description (defaults to null)
  • enable (defaults to null)
  • id (defaults to null)
  • param_template_id (defaults to null)
  • scope (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • order_index
  • uuid
Example
tencentcloud_cfw_edge_policy {
  name = "cfw_edge_policy";
  direction = …;  # required
  port = …;  # required
  protocol = …;  # required
  rule_action = …;  # required
  source_content = …;  # required
  source_type = …;  # required
  target_content = …;  # required
  target_type = …;  # required
}

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