AWS SDK for .NET Documentation
NetworkAclEntry Class
AmazonAmazon.EC2.ModelNetworkAclEntry Did this page help you?   Yes   No    Tell us about it...
Individual network ACL.
Declaration Syntax
C#
public class NetworkAclEntry
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
NetworkAclEntry()()()()
Initializes a new instance of the NetworkAclEntry class

CidrBlock
The network range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).

Egress
Whether this is an egress rule (rule is applied to traffic leaving the subnet). Value of true indicates egress.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Icmp
The ICMP type and code (for the ICMP protocol).

IsSetCidrBlock()()()()
Checks if CidrBlock property is set

IsSetEgress()()()()
Checks if Egress property is set

IsSetIcmp()()()()
Checks if Icmp property is set

IsSetPortRange()()()()
Checks if PortRange property is set

IsSetProtocol()()()()
Checks if Protocol property is set

IsSetRuleAction()()()()
Checks if RuleAction property is set

IsSetRuleNumber()()()()
Checks if RuleNumber property is set

PortRange
The range of ports the rule applies to (for the TCP or UDP protocols).

Protocol
IP protocol for the ACL. Valid Values: tcp | udp | icmp or an IP protocol number.

RuleAction
Whether to allow or deny the traffic that matches the rule. Valid Values: allow | deny

RuleNumber
Rule number for the entry. ACL entries are processed in ascending order by rule number.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCidrBlock(String) Obsolete.
Sets the network range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).

WithEgress(Boolean) Obsolete.
Sets whether this is an egress rule (rule is applied to traffic leaving the subnet).

WithIcmp(Icmp) Obsolete.
Sets the ICMP type and code (for the ICMP protocol).

WithPortRange(PortRange) Obsolete.
Sets the range of ports the rule applies to (for the TCP or UDP protocols).

WithProtocol(String) Obsolete.
Sets the IP protocol for the ACL.

WithRuleAction(String) Obsolete.
Sets whether to allow or deny the traffic that matches the rule.

WithRuleNumber(Decimal) Obsolete.
Sets the rule number for the entry.

Inheritance Hierarchy
Object
NetworkAclEntry

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)