alicloud_cen_traffic_marking_policy

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

Constructor
{
  name,
  marking_dscp,
  priority,
  transit_router_id,
  description ? null,
  dry_run ? null,
  force ? null,
  id ? null,
  traffic_marking_policy_name ? null,
  timeouts ? null,
  traffic_match_rules ? null,
  overrides ? {}
}
Required arguments
  • marking_dscp
  • priority
  • transit_router_id
Optional arguments
  • description (defaults to null)
  • dry_run (defaults to null)
  • force (defaults to null)
  • id (defaults to null)
  • traffic_marking_policy_name (defaults to null)
  • timeouts (defaults to null)
  • traffic_match_rules (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • status
  • traffic_marking_policy_id
Example
alicloud_cen_traffic_marking_policy {
  name = "cen_traffic_marking_policy";
  marking_dscp = …;  # required
  priority = …;  # required
  transit_router_id = …;  # required
}

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