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

    Constructors
    Modifier
    Constructor
    Description
    protected
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final AclIcmp
    The Internet Control Message Protocol (ICMP) code and type.
    The range of port numbers for the UDP/TCP protocol.
    final Number
    The protocol number.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(AclTrafficConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AclTrafficConfig.Builder.
  • Method Details

    • getProtocol

      public final Number 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 interface AclTrafficConfig
    • getIcmp

      public final AclIcmp 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 interface AclTrafficConfig
    • getPortRange

      public final AclPortRange 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 interface AclTrafficConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object