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.
cidrBlockThe network range to allow or deny, in CIDR notation (for example 172.16.0.0/24 ).egressIndicates whether this is an egress rule (rule is applied to traffic leaving the subnet). Defaultfalse.fromPortThe from port to match.icmpCodeICMP protocol: The ICMP code. Required if specifying ICMP for the protocolE.g., -1icmpTypeICMP protocol: The ICMP type. Required if specifying ICMP for the protocolE.g., -1ipv6CidrBlockThe IPv6 CIDR block to allow or deny.networkAclIdThe ID of the network ACL.protocolThe protocol. A value of -1 means all protocols.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.ruleActionIndicates whether to allow or deny the traffic that matches the rule. Accepted values:allow|denyruleNumberThe rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.toPortThe 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|denyfinal -
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