Class ServiceProps.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ServiceProps.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
     
    Structure containing failure threshold for a custom health checker.
    final String
    A description of the service.
    The DNS type of the record that you want AWS Cloud Map to create.
    final Duration
    The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.
    Settings for an optional health check.
    final Boolean
    Whether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.
    final String
    A name for the Service.
    The namespace that you want to use for DNS configuration.
    The routing policy that you want to apply to all DNS records that AWS Cloud Map creates when you register an instance and specify this 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(ServiceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ServiceProps.Builder.
  • Method Details

    • getNamespace

      public final INamespace getNamespace()
      Description copied from interface: ServiceProps
      The namespace that you want to use for DNS configuration.
      Specified by:
      getNamespace in interface ServiceProps
    • getDnsRecordType

      public final DnsRecordType getDnsRecordType()
      Description copied from interface: DnsServiceProps
      The DNS type of the record that you want AWS Cloud Map to create.

      Supported record types include A, AAAA, A and AAAA (A_AAAA), CNAME, and SRV.

      Default: A

      Specified by:
      getDnsRecordType in interface DnsServiceProps
    • getDnsTtl

      public final Duration getDnsTtl()
      Description copied from interface: DnsServiceProps
      The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.

      Default: Duration.minutes(1)

      Specified by:
      getDnsTtl in interface DnsServiceProps
    • getLoadBalancer

      public final Boolean getLoadBalancer()
      Description copied from interface: DnsServiceProps
      Whether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.

      Setting this to true correctly configures the routingPolicy and performs some additional validation.

      Default: false

      Specified by:
      getLoadBalancer in interface DnsServiceProps
    • getRoutingPolicy

      public final RoutingPolicy getRoutingPolicy()
      Description copied from interface: DnsServiceProps
      The routing policy that you want to apply to all DNS records that AWS Cloud Map creates when you register an instance and specify this service.

      Default: WEIGHTED for CNAME records and when loadBalancer is true, MULTIVALUE otherwise

      Specified by:
      getRoutingPolicy in interface DnsServiceProps
    • 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