Replaces an entry (i.e., rule) in a network ACL.
Declaration Syntax
C# |
public class ReplaceNetworkAclEntryRequest : EC2Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
ReplaceNetworkAclEntryRequest()()()() | Initializes a new instance of the ReplaceNetworkAclEntryRequest class | |
CidrBlock |
The CIDR range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).
| |
Egress |
Whether this rule applies to egress traffic from the
subnet (true) or ingress traffic (false).
| |
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 |
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
| |
IsSetNetworkAclId()()()() |
Checks if NetworkAclId 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
| |
NetworkAclId |
ID of the ACL where the entry will be replaced.
| |
PortRange |
The range of ports the rule applies to for the TCP or UDP protocols.
| |
Protocol |
IP protocol the rule applies to.
Valid Values: tcp | udp | icmp or an IP protocol number.
| |
RuleAction |
Whether to allow or deny traffic that matches the rule.
Valid Values: allow | deny
| |
RuleNumber |
Rule number of the entry to replace.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithCidrBlock(String) | Obsolete.
Sets the CIDR range to allow or deny, in CIDR notation (e.g., 172.16.0.0/24).
| |
WithEgress(Boolean) | Obsolete.
Sets whether this rule applies to egress traffic from the
subnet (true) or ingress traffic (false).
| |
WithIcmp(Icmp) | Obsolete.
Sets the ICMP type and code for the ICMP protocol.
| |
WithNetworkAclId(String) | Obsolete.
Sets the ID of the ACL where the entry will be replaced.
| |
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 the rule applies to.
| |
WithRuleAction(String) | Obsolete.
Sets whether to allow or deny traffic that matches the rule.
| |
WithRuleNumber(Decimal) | Obsolete.
Sets the rule number of the entry to replace.
|
Remarks
For more information about network ACLs, go to Network ACLs in the Amazon
Virtual Private Cloud User Guide.
Inheritance Hierarchy
Object | ||
EC2Request | ||
ReplaceNetworkAclEntryRequest |