Class EcsTarget.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class EcsTarget.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EcsTarget
An implementation for EcsTarget
  • 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.ecs.EcsTarget

    EcsTarget.Builder, EcsTarget.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the EcsTarget.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 String
    The name of the container.
    final Number
    The port number of the container.
    Listener and properties for adding target group to the listener.
    final String
    ID for a target group to be created.
    final Protocol
    The protocol used for the port mapping.
    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(EcsTarget.Builder builder)
      Constructor that initializes the object based on literal property values passed by the EcsTarget.Builder.
  • Method Details

    • getContainerName

      public final String getContainerName()
      Description copied from interface: EcsTarget
      The name of the container.
      Specified by:
      getContainerName in interface EcsTarget
    • getListener

      public final ListenerConfig getListener()
      Description copied from interface: EcsTarget
      Listener and properties for adding target group to the listener.
      Specified by:
      getListener in interface EcsTarget
    • getNewTargetGroupId

      public final String getNewTargetGroupId()
      Description copied from interface: EcsTarget
      ID for a target group to be created.
      Specified by:
      getNewTargetGroupId in interface EcsTarget
    • getContainerPort

      public final Number getContainerPort()
      Description copied from interface: EcsTarget
      The port number of the container.

      Only applicable when using application/network load balancers.

      Default: - Container port of the first added port mapping.

      Specified by:
      getContainerPort in interface EcsTarget
    • getProtocol

      public final Protocol getProtocol()
      Description copied from interface: EcsTarget
      The protocol used for the port mapping.

      Only applicable when using application load balancers.

      Default: Protocol.TCP

      Specified by:
      getProtocol in interface EcsTarget
    • $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