@Internal
@Requires(env="ec2") @Requires(property="micronaut.application.name") @Requires(property="aws.service-discovery.registration.enabled",value="true")
@ConfigurationProperties(value="aws.service-discovery.registration")
public class AwsServiceDiscoveryRegistrationConfiguration
extends io.micronaut.discovery.registration.RegistrationConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
AwsServiceDiscoveryRegistrationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAwsServiceId()
Get gets the aws service id we are working with.
|
void |
setAwsServiceId(java.lang.String awsServiceId)
Setting for service id to make easier testing.
|
getHealthPath, getIpAddr, getRetryCount, getRetryDelay, getTimeout, isDeregister, isEnabled, isFailFast, isPreferIpAddress, setDeregister, setEnabled, setFailFast, setHealthPath, setIpAddr, setPreferIpAddress, setRetryCount, setRetryDelay, setTimeoutpublic static final java.lang.String PREFIX
public AwsServiceDiscoveryRegistrationConfiguration()
public java.lang.String getAwsServiceId()
public void setAwsServiceId(java.lang.String awsServiceId)
awsServiceId - service ID from AWS