Class BaseServiceProps.Jsii$Proxy

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

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

    • getCustomHealthCheck

      public final HealthCheckCustomConfig getCustomHealthCheck()
      Description copied from interface: BaseServiceProps
      Structure containing failure threshold for a custom health checker.

      Only one of healthCheckConfig or healthCheckCustomConfig can be specified. See: https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html

      Default: none

      Specified by:
      getCustomHealthCheck in interface BaseServiceProps
    • getDescription

      public final String getDescription()
      Description copied from interface: BaseServiceProps
      A description of the service.

      Default: none

      Specified by:
      getDescription in interface BaseServiceProps
    • getHealthCheck

      public final HealthCheckConfig getHealthCheck()
      Description copied from interface: BaseServiceProps
      Settings for an optional health check.

      If you specify health check settings, AWS Cloud Map associates the health check with the records that you specify in DnsConfig. Only one of healthCheckConfig or healthCheckCustomConfig can be specified. Not valid for PrivateDnsNamespaces. If you use healthCheck, you can only register IP instances to this service.

      Default: none

      Specified by:
      getHealthCheck in interface BaseServiceProps
    • getName

      public final String getName()
      Description copied from interface: BaseServiceProps
      A name for the Service.

      Default: CloudFormation-generated name

      Specified by:
      getName in interface BaseServiceProps
    • $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