Class AclTrafficConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.AclTrafficConfig.Jsii$Proxy
- All Implemented Interfaces:
AclTrafficConfig
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AclTrafficConfig
@Stability(Stable)
@Internal
public static final class AclTrafficConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements AclTrafficConfig
An implementation for
AclTrafficConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.AclTrafficConfig
AclTrafficConfig.Builder, AclTrafficConfig.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(AclTrafficConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theAclTrafficConfig.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final AclIcmp
getIcmp()
The Internet Control Message Protocol (ICMP) code and type.final AclPortRange
The range of port numbers for the UDP/TCP protocol.final Number
The protocol number.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAclTrafficConfig.Builder
.
-
-
Method Details
-
getProtocol
Description copied from interface:AclTrafficConfig
The protocol number.A 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
- Specified by:
getProtocol
in interfaceAclTrafficConfig
-
getIcmp
Description copied from interface:AclTrafficConfig
The Internet Control Message Protocol (ICMP) code and type.Default: - Required if specifying 1 (ICMP) for the protocol parameter.
- Specified by:
getIcmp
in interfaceAclTrafficConfig
-
getPortRange
Description copied from interface:AclTrafficConfig
The range of port numbers for the UDP/TCP protocol.Default: - Required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter
- Specified by:
getPortRange
in interfaceAclTrafficConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-