Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class NetworkAclEntry
Public Class NetworkAclEntry
public ref class NetworkAclEntry
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| NetworkAclEntry()()()() | Initializes a new instance of the NetworkAclEntry class | |
| CidrBlock |
Gets and sets the CidrBlock property.
The network range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).
| |
| Egress |
Gets and sets the Egress property.
Boolean flag to indicate an egress rule (rule is applied to traffic leaving
the subnet). Value of true indicates egress.
| |
| Equals(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 |
Gets and sets the Icmp property.
For the ICMP protocol, this is the ICMP type and code.
| |
| 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 |
Gets and sets the PortRange property.
For the TCP or UDP protocols, the range of ports the rule applies to.
| |
| Protocol |
Gets and sets the Protocol property.
IP protocol. For a list of protocol numbers and names, go to Protocol
Numbers.
Valid Values: tcp | udp | icmp or an IP protocol number.
| |
| RuleAction |
Gets and sets the RuleAction property.
Whether to allow or deny the traffic that matches the rule.
Valid Values: allow | deny
| |
| RuleNumber |
Gets and sets the RuleNumber property.
Specific rule number for the entry. ACL entries are processed in
ascending order by rule number.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithCidrBlock(String) |
Sets the CidrBlock property
| |
| WithEgress(Boolean) |
Sets the Egress property
| |
| WithIcmp(Icmp) |
Sets the Icmp property
| |
| WithPortRange(PortRange) |
Sets the PortRange property
| |
| WithProtocol(String) |
Sets the Protocol property
| |
| WithRuleAction(String) |
Sets the RuleAction property
| |
| WithRuleNumber(Decimal) |
Sets the RuleNumber property
|