tencentcloud_cfw_nat_policyNivis Nix constructor for the tencentcloud_cfw_nat_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
directionportprotocolrule_actionsource_contentsource_typetarget_contenttarget_type
Optional arguments
description(defaults tonull)enable(defaults tonull)id(defaults tonull)param_template_id(defaults tonull)scope(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
internal_uuidorder_indexuuid
Example
tencentcloud_cfw_nat_policy {
name = "cfw_nat_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.