Class AwsServiceDiscoveryRegistrationConfiguration

java.lang.Object
io.micronaut.discovery.registration.RegistrationConfiguration
io.micronaut.discovery.aws.servicediscovery.AwsServiceDiscoveryRegistrationConfiguration
All Implemented Interfaces:
io.micronaut.core.util.Toggleable

@Internal @Requires(env="ec2") @Requires(property="micronaut.application.name") @Requires(property="aws.service-discovery.registration.enabled",value="true") @ConfigurationProperties("aws.service-discovery.registration") public class AwsServiceDiscoveryRegistrationConfiguration extends io.micronaut.discovery.registration.RegistrationConfiguration
Configuration for AWS Route 53 registration.
Since:
1.0
Author:
Rvanderwerf
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class io.micronaut.discovery.registration.RegistrationConfiguration

    DEFAULT_DEREGISTER, DEFAULT_ENABLED, DEFAULT_FAILFAST, DEFAULT_RETRY_COUNT, DEFAULT_RETRYDELAY_SECONDS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get gets the aws service id we are working with.
    void
    setAwsServiceId(String awsServiceId)
    Setting for service id to make easier testing.

    Methods inherited from class io.micronaut.discovery.registration.RegistrationConfiguration

    getHealthPath, getIpAddr, getRetryCount, getRetryDelay, getTimeout, isDeregister, isEnabled, isFailFast, isPreferIpAddress, setDeregister, setEnabled, setFailFast, setHealthPath, setIpAddr, setPreferIpAddress, setRetryCount, setRetryDelay, setTimeout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AwsServiceDiscoveryRegistrationConfiguration

      public AwsServiceDiscoveryRegistrationConfiguration()
  • Method Details

    • getAwsServiceId

      public String getAwsServiceId()
      Get gets the aws service id we are working with. You can only find this from the CLI or APIs as there is no UI for this yet.
      Returns:
      aws service id
    • setAwsServiceId

      public void setAwsServiceId(String awsServiceId)
      Setting for service id to make easier testing.
      Parameters:
      awsServiceId - service ID from AWS