alicloud_cen_traffic_marking_policyNivis 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_dscpprioritytransit_router_id
Optional arguments
description(defaults tonull)dry_run(defaults tonull)force(defaults tonull)id(defaults tonull)traffic_marking_policy_name(defaults tonull)timeouts(defaults tonull)traffic_match_rules(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
statustraffic_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.