PolicySecurityServicePolicyDataPolicyOptionNetworkAclCommonPolicyNetworkAclEntrySetLastEntry constructor

const PolicySecurityServicePolicyDataPolicyOptionNetworkAclCommonPolicyNetworkAclEntrySetLastEntry({
  1. Input<String?>? cidrBlock,
  2. required Input<bool> egress,
  3. Input<List<PolicySecurityServicePolicyDataPolicyOptionNetworkAclCommonPolicyNetworkAclEntrySetLastEntryIcmpTypeCode>?>? icmpTypeCodes,
  4. Input<String?>? ipv6CidrBlock,
  5. Input<List<PolicySecurityServicePolicyDataPolicyOptionNetworkAclCommonPolicyNetworkAclEntrySetLastEntryPortRange>?>? portRanges,
  6. required Input<String> protocol,
  7. required Input<String> ruleAction,
})

Creates a new PolicySecurityServicePolicyDataPolicyOptionNetworkAclCommonPolicyNetworkAclEntrySetLastEntry. cidrBlock IPv4 network range to allow or deny, in CIDR notation. egress Whether Firewall Manager creates an egress rule. If false, Firewall Manager creates an ingress rule. icmpTypeCodes ICMP protocol configuration specifying the ICMP type and code. See the icmpTypeCode block. ipv6CidrBlock IPv6 network range to allow or deny, in CIDR notation. portRanges Port range configuration for the rule. See the portRange block. protocol Protocol number. A value of -1 means all protocols. ruleAction Whether to allow or deny the traffic that matches the rule. Valid values: allow, deny.

Implementation

const PolicySecurityServicePolicyDataPolicyOptionNetworkAclCommonPolicyNetworkAclEntrySetLastEntry({
  this.cidrBlock,
  required this.egress,
  this.icmpTypeCodes,
  this.ipv6CidrBlock,
  this.portRanges,
  required this.protocol,
  required this.ruleAction,
});