NetworkFirewallPolicyRuleMatchLayer4Config constructor

const NetworkFirewallPolicyRuleMatchLayer4Config({
  1. required Input<String> ipProtocol,
  2. Input<List<String>?>? ports,
})

Creates a new NetworkFirewallPolicyRuleMatchLayer4Config. ipProtocol The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. ports An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.

Implementation

const NetworkFirewallPolicyRuleMatchLayer4Config({
  required this.ipProtocol,
  this.ports,
});