NetworkAclRuleState class

Input properties used for looking up and filtering NetworkAclRule resources.

Constructors

NetworkAclRuleState({Input<String?>? cidrBlock, Input<bool?>? egress, Input<int?>? fromPort, Input<int?>? icmpCode, Input<int?>? icmpType, Input<String?>? ipv6CidrBlock, Input<String?>? networkAclId, Input<String?>? protocol, Input<String?>? region, Input<String?>? ruleAction, Input<int?>? ruleNumber, Input<int?>? toPort})
Creates a new NetworkAclRuleState. cidrBlock The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ). egress Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default false. fromPort The from port to match. icmpCode ICMP protocol: The ICMP code. Required if specifying ICMP for the protocolE.g., -1 icmpType ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1 ipv6CidrBlock The IPv6 CIDR block to allow or deny. networkAclId The ID of the network ACL. protocol The protocol. A value of -1 means all protocols. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. ruleAction Indicates whether to allow or deny the traffic that matches the rule. Accepted values: allow | deny ruleNumber The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number. toPort The to port to match.
const
NetworkAclRuleState.fromMap(Map<String, dynamic> map)
factory

Properties

cidrBlock → Input<String?>?
The network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).
final
egress → Input<bool?>?
Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Default false.
final
fromPort → Input<int?>?
The from port to match.
final
hashCode int
The hash code for this object.
no setterinherited
icmpCode → Input<int?>?
ICMP protocol: The ICMP code. Required if specifying ICMP for the protocolE.g., -1
final
icmpType → Input<int?>?
ICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1
final
ipv6CidrBlock → Input<String?>?
The IPv6 CIDR block to allow or deny.
final
networkAclId → Input<String?>?
The ID of the network ACL.
final
protocol → Input<String?>?
The protocol. A value of -1 means all protocols.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
ruleAction → Input<String?>?
Indicates whether to allow or deny the traffic that matches the rule. Accepted values: allow | deny
final
ruleNumber → Input<int?>?
The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toPort → Input<int?>?
The to port to match.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited