Class ServiceConnectService.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ServiceConnectService.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
    Optionally specifies an intermediate dns name to register in the CloudMap namespace.
    final String
    The terse DNS alias to use for this port mapping in the service connect mesh.
    final Duration
    The amount of time in seconds a connection for Service Connect will stay active while idle.
    final Number
    Optional.
    final Duration
    The amount of time waiting for the upstream to respond with a complete response per request for Service Connect.
    final Number
    The port for clients to use to communicate with this service via Service Connect.
    final String
    portMappingName specifies which port and protocol combination should be used for this service connect service.
    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(ServiceConnectService.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ServiceConnectService.Builder.
  • Method Details

    • getPortMappingName

      public final String getPortMappingName()
      Description copied from interface: ServiceConnectService
      portMappingName specifies which port and protocol combination should be used for this service connect service.
      Specified by:
      getPortMappingName in interface ServiceConnectService
    • getDiscoveryName

      public final String getDiscoveryName()
      Description copied from interface: ServiceConnectService
      Optionally specifies an intermediate dns name to register in the CloudMap namespace.

      This is required if you wish to use the same port mapping name in more than one service.

      Default: - port mapping name

      Specified by:
      getDiscoveryName in interface ServiceConnectService
    • getDnsName

      public final String getDnsName()
      Description copied from interface: ServiceConnectService
      The terse DNS alias to use for this port mapping in the service connect mesh.

      Service Connect-enabled clients will be able to reach this service at http://dnsName:port.

      Default: - No alias is created. The service is reachable at `portMappingName.namespace:port`.

      Specified by:
      getDnsName in interface ServiceConnectService
    • getIdleTimeout

      public final Duration getIdleTimeout()
      Description copied from interface: ServiceConnectService
      The amount of time in seconds a connection for Service Connect will stay active while idle.

      A value of 0 can be set to disable idleTimeout.

      If idleTimeout is set to a time that is less than perRequestTimeout, the connection will close when the idleTimeout is reached and not the perRequestTimeout.

      Default: - Duration.minutes(5) for HTTP/HTTP2/GRPC, Duration.hours(1) for TCP.

      Specified by:
      getIdleTimeout in interface ServiceConnectService
    • getIngressPortOverride

      public final Number getIngressPortOverride()
      Description copied from interface: ServiceConnectService
      Optional.

      The port on the Service Connect agent container to use for traffic ingress to this service.

      Default: - none

      Specified by:
      getIngressPortOverride in interface ServiceConnectService
    • getPerRequestTimeout

      public final Duration getPerRequestTimeout()
      Description copied from interface: ServiceConnectService
      The amount of time waiting for the upstream to respond with a complete response per request for Service Connect.

      A value of 0 can be set to disable perRequestTimeout. Can only be set when the appProtocol for the application container is HTTP/HTTP2/GRPC.

      If idleTimeout is set to a time that is less than perRequestTimeout, the connection will close when the idleTimeout is reached and not the perRequestTimeout.

      Default: - Duration.seconds(15)

      Specified by:
      getPerRequestTimeout in interface ServiceConnectService
    • getPort

      public final Number getPort()
      Description copied from interface: ServiceConnectService
      The port for clients to use to communicate with this service via Service Connect.

      Default: the container port specified by the port mapping in portMappingName.

      Specified by:
      getPort in interface ServiceConnectService
    • $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