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 inherited from class io.micronaut.discovery.registration.RegistrationConfiguration
DEFAULT_DEREGISTER, DEFAULT_ENABLED, DEFAULT_FAILFAST, DEFAULT_RETRY_COUNT, DEFAULT_RETRYDELAY_SECONDS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
AwsServiceDiscoveryRegistrationConfiguration
public AwsServiceDiscoveryRegistrationConfiguration()
-
-
Method Details
-
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
Setting for service id to make easier testing.- Parameters:
awsServiceId
- service ID from AWS
-