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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.AclTrafficConfig
AclTrafficConfig.Builder, AclTrafficConfig.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AclTrafficConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theAclTrafficConfig.Builder.protectedJsii$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.JsonNodefinal booleanfinal AclIcmpgetIcmp()The Internet Control Message Protocol (ICMP) code and type.final AclPortRangeThe range of port numbers for the UDP/TCP protocol.final NumberThe protocol number.final inthashCode()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:AclTrafficConfigThe 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:
getProtocolin interfaceAclTrafficConfig
-
getIcmp
Description copied from interface:AclTrafficConfigThe Internet Control Message Protocol (ICMP) code and type.Default: - Required if specifying 1 (ICMP) for the protocol parameter.
- Specified by:
getIcmpin interfaceAclTrafficConfig
-
getPortRange
Description copied from interface:AclTrafficConfigThe range of port numbers for the UDP/TCP protocol.Default: - Required if specifying 6 (TCP) or 17 (UDP) for the protocol parameter
- Specified by:
getPortRangein interfaceAclTrafficConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-