Class CfnFleet.IpPermissionProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.gamelift.CfnFleet.IpPermissionProperty.Jsii$Proxy
All Implemented Interfaces:
CfnFleet.IpPermissionProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnFleet.IpPermissionProperty

@Stability(Stable) @Internal public static final class CfnFleet.IpPermissionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnFleet.IpPermissionProperty
An implementation for CfnFleet.IpPermissionProperty
  • 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(CfnFleet.IpPermissionProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnFleet.IpPermissionProperty.Builder.
  • Method Details

    • getFromPort

      public final Number getFromPort()
      Description copied from interface: CfnFleet.IpPermissionProperty
      A starting value for a range of allowed port numbers.

      For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

      For fleets using Windows builds, only ports 1026-60000 are valid.

      Specified by:
      getFromPort in interface CfnFleet.IpPermissionProperty
    • getIpRange

      public final String getIpRange()
      Description copied from interface: CfnFleet.IpPermissionProperty
      A range of allowed IP addresses.

      This value must be expressed in CIDR notation. Example: " 000.000.000.000/[subnet mask] " or optionally the shortened version " 0.0.0.0/[subnet mask] ".

      Specified by:
      getIpRange in interface CfnFleet.IpPermissionProperty
    • getProtocol

      public final String getProtocol()
      Description copied from interface: CfnFleet.IpPermissionProperty
      The network communication protocol used by the fleet.
      Specified by:
      getProtocol in interface CfnFleet.IpPermissionProperty
    • getToPort

      public final Number getToPort()
      Description copied from interface: CfnFleet.IpPermissionProperty
      An ending value for a range of allowed port numbers.

      Port numbers are end-inclusive. This value must be equal to or greater than FromPort .

      For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

      For fleets using Windows builds, only ports 1026-60000 are valid.

      Specified by:
      getToPort in interface CfnFleet.IpPermissionProperty
    • $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