public static final class CfnNetworkAclEntryProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnNetworkAclEntryProps
CfnNetworkAclEntryProps
CfnNetworkAclEntryProps.Builder, CfnNetworkAclEntryProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getCidrBlock()
The IPv4 CIDR range to allow or deny, in CIDR notation (for example, 172.16.0.0/24).
|
java.lang.Object |
getEgress()
Whether this rule applies to egress traffic from the subnet ( `true` ) or ingress traffic to the subnet ( `false` ).
|
java.lang.Object |
getIcmp()
The Internet Control Message Protocol (ICMP) code and type.
|
java.lang.String |
getIpv6CidrBlock()
The IPv6 network range to allow or deny, in CIDR notation.
|
java.lang.String |
getNetworkAclId()
The ID of the ACL for the entry.
|
java.lang.Object |
getPortRange()
The range of port numbers for the UDP/TCP protocol.
|
java.lang.Number |
getProtocol()
The IP protocol that the rule applies to.
|
java.lang.String |
getRuleAction()
Whether to allow or deny traffic that matches the rule;
|
java.lang.Number |
getRuleNumber()
Rule number to assign to the entry, such as 100.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getNetworkAclId()
CfnNetworkAclEntryProps
getNetworkAclId
in interface CfnNetworkAclEntryProps
public final java.lang.Number getProtocol()
CfnNetworkAclEntryProps
You must specify -1 or a protocol number. You can specify -1 for all protocols.
If you specify -1, all ports are opened and the
PortRange
property is ignored.
getProtocol
in interface CfnNetworkAclEntryProps
public final java.lang.String getRuleAction()
CfnNetworkAclEntryProps
valid values are "allow" or "deny".
getRuleAction
in interface CfnNetworkAclEntryProps
public final java.lang.Number getRuleNumber()
CfnNetworkAclEntryProps
ACL entries are processed in ascending order by rule number. Entries can't use the same rule number unless one is an egress rule and the other is an ingress rule.
getRuleNumber
in interface CfnNetworkAclEntryProps
public final java.lang.String getCidrBlock()
CfnNetworkAclEntryProps
getCidrBlock
in interface CfnNetworkAclEntryProps
public final java.lang.Object getEgress()
CfnNetworkAclEntryProps
By default, AWS CloudFormation specifies false
.
getEgress
in interface CfnNetworkAclEntryProps
public final java.lang.Object getIcmp()
CfnNetworkAclEntryProps
Requirement is conditional: Required if specifying 1 (ICMP) for the protocol parameter.
getIcmp
in interface CfnNetworkAclEntryProps
public final java.lang.String getIpv6CidrBlock()
CfnNetworkAclEntryProps
Requirement is conditional: You must specify the CidrBlock
or Ipv6CidrBlock
property.
getIpv6CidrBlock
in interface CfnNetworkAclEntryProps
public final java.lang.Object getPortRange()
CfnNetworkAclEntryProps
Conditional required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter.
getPortRange
in interface CfnNetworkAclEntryProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()