@Stability(value=Stable) @Internal public static final class CfnNetworkAclEntryProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnNetworkAclEntryProps
CfnNetworkAclEntryPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnNetworkAclEntryProps.Builder, CfnNetworkAclEntryProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnNetworkAclEntryProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnNetworkAclEntryProps.Builder. |
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(Object o) |
String |
getCidrBlock()
The IPv4 CIDR range to allow or deny, in CIDR notation (for example, 172.16.0.0/24).
|
Object |
getEgress()
Whether this rule applies to egress traffic from the subnet ( `true` ) or ingress traffic to the subnet ( `false` ).
|
Object |
getIcmp()
The Internet Control Message Protocol (ICMP) code and type.
|
String |
getIpv6CidrBlock()
The IPv6 network range to allow or deny, in CIDR notation.
|
String |
getNetworkAclId()
The ID of the ACL for the entry.
|
Object |
getPortRange()
The range of port numbers for the UDP/TCP protocol.
|
Number |
getProtocol()
The IP protocol that the rule applies to.
|
String |
getRuleAction()
Whether to allow or deny traffic that matches the rule;
|
Number |
getRuleNumber()
Rule number to assign to the entry, such as 100.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnNetworkAclEntryProps.Builder builder)
CfnNetworkAclEntryProps.Builder.public final String getNetworkAclId()
CfnNetworkAclEntryPropsgetNetworkAclId in interface CfnNetworkAclEntryPropspublic final Number getProtocol()
CfnNetworkAclEntryPropsYou must specify -1 or a protocol number. You can specify -1 for all protocols.
If you specify -1, all ports are opened and the
PortRangeproperty is ignored.
getProtocol in interface CfnNetworkAclEntryPropspublic final String getRuleAction()
CfnNetworkAclEntryPropsvalid values are "allow" or "deny".
getRuleAction in interface CfnNetworkAclEntryPropspublic final Number getRuleNumber()
CfnNetworkAclEntryPropsACL 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 CfnNetworkAclEntryPropspublic final String getCidrBlock()
CfnNetworkAclEntryPropsgetCidrBlock in interface CfnNetworkAclEntryPropspublic final Object getEgress()
CfnNetworkAclEntryProps
By default, AWS CloudFormation specifies false .
getEgress in interface CfnNetworkAclEntryPropspublic final Object getIcmp()
CfnNetworkAclEntryPropsRequirement is conditional: Required if specifying 1 (ICMP) for the protocol parameter.
getIcmp in interface CfnNetworkAclEntryPropspublic final String getIpv6CidrBlock()
CfnNetworkAclEntryProps
Requirement is conditional: You must specify the CidrBlock or Ipv6CidrBlock property.
getIpv6CidrBlock in interface CfnNetworkAclEntryPropspublic final Object getPortRange()
CfnNetworkAclEntryPropsConditional required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter.
getPortRange in interface CfnNetworkAclEntryProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.