alicloud_simple_application_server_firewall_ruleNivis Nix constructor for the alicloud_simple_application_server_firewall_rule 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,
instance_id,
port,
rule_protocol,
id ? null,
remark ? null,
overrides ? {}
}Required arguments
instance_idportrule_protocol
Optional arguments
id(defaults tonull)remark(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
firewall_rule_id
Example
alicloud_simple_application_server_firewall_rule {
name = "simple_application_server_firewall_rule";
instance_id = …; # required
port = …; # required
rule_protocol = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.