tencentcloud_ga2_forwarding_ruleNivis Nix constructor for the tencentcloud_ga2_forwarding_rule 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,
forwarding_policy_id,
global_accelerator_id,
listener_id,
enable_origin_sni ? null,
id ? null,
origin_host ? null,
origin_sni ? null,
hide_response_headers ? null,
origin_headers ? null,
response_headers ? null,
rule_actions ? null,
rule_conditions ? null,
timeouts ? null,
overrides ? {}
}Required arguments
forwarding_policy_idglobal_accelerator_idlistener_id
Optional arguments
enable_origin_sni(defaults tonull)id(defaults tonull)origin_host(defaults tonull)origin_sni(defaults tonull)hide_response_headers(defaults tonull)origin_headers(defaults tonull)response_headers(defaults tonull)rule_actions(defaults tonull)rule_conditions(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
forwarding_rule_id
Example
tencentcloud_ga2_forwarding_rule {
name = "ga2_forwarding_rule";
forwarding_policy_id = …; # required
global_accelerator_id = …; # required
listener_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.