alicloud_simple_application_server_firewall_rule

Nivis 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_id
  • port
  • rule_protocol
Optional arguments
  • id (defaults to null)
  • remark (defaults to null)
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.