@Stability(value=Stable) @Internal public static final class AclTrafficConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AclTrafficConfig
AclTrafficConfigsoftware.amazon.jsii.JsiiObject.InitializationModeAclTrafficConfig.Builder, AclTrafficConfig.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AclTrafficConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by the
AclTrafficConfig.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) |
AclIcmp |
getIcmp()
The Internet Control Message Protocol (ICMP) code and type.
|
AclPortRange |
getPortRange()
The range of port numbers for the UDP/TCP protocol.
|
Number |
getProtocol()
The protocol number.
|
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(AclTrafficConfig.Builder builder)
AclTrafficConfig.Builder.public final Number getProtocol()
AclTrafficConfigA value of "-1" means all protocols.
If you specify "-1" or a protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify.
If you specify protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.
Default: 17
getProtocol in interface AclTrafficConfigpublic final AclIcmp getIcmp()
AclTrafficConfigDefault: - Required if specifying 1 (ICMP) for the protocol parameter.
getIcmp in interface AclTrafficConfigpublic final AclPortRange getPortRange()
AclTrafficConfigDefault: - Required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter
getPortRange in interface AclTrafficConfig@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.