@Stability(value=Stable) @Internal public static final class ServiceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServiceProps
ServicePropssoftware.amazon.jsii.JsiiObject.InitializationModeServiceProps.Builder, ServiceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ServiceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ServiceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
HealthCheckCustomConfig |
getCustomHealthCheck()
Structure containing failure threshold for a custom health checker.
|
String |
getDescription()
A description of the service.
|
DiscoveryType |
getDiscoveryType()
Controls how instances within this service can be discovered.
|
DnsRecordType |
getDnsRecordType()
The DNS type of the record that you want AWS Cloud Map to create.
|
Duration |
getDnsTtl()
The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.
|
HealthCheckConfig |
getHealthCheck()
Settings for an optional health check.
|
Boolean |
getLoadBalancer()
Whether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.
|
String |
getName()
A name for the Service.
|
INamespace |
getNamespace()
The namespace that you want to use for DNS configuration.
|
RoutingPolicy |
getRoutingPolicy()
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.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ServiceProps.Builder builder)
ServiceProps.Builder.public final INamespace getNamespace()
ServicePropsgetNamespace in interface ServicePropspublic final DiscoveryType getDiscoveryType()
DnsServicePropsDefault: DNS_AND_API
getDiscoveryType in interface DnsServicePropspublic final DnsRecordType getDnsRecordType()
DnsServicePropsSupported record types include A, AAAA, A and AAAA (A_AAAA), CNAME, and SRV.
Default: A
getDnsRecordType in interface DnsServicePropspublic final Duration getDnsTtl()
DnsServicePropsDefault: Duration.minutes(1)
getDnsTtl in interface DnsServicePropspublic final Boolean getLoadBalancer()
DnsServiceProps
Setting this to true correctly configures the routingPolicy
and performs some additional validation.
Default: false
getLoadBalancer in interface DnsServicePropspublic final RoutingPolicy getRoutingPolicy()
DnsServicePropsDefault: WEIGHTED for CNAME records and when loadBalancer is true, MULTIVALUE otherwise
getRoutingPolicy in interface DnsServicePropspublic final HealthCheckCustomConfig getCustomHealthCheck()
BaseServicePropsOnly one of healthCheckConfig or healthCheckCustomConfig can be specified. See: https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html
Default: none
getCustomHealthCheck in interface BaseServicePropspublic final String getDescription()
BaseServicePropsDefault: none
getDescription in interface BaseServicePropspublic final HealthCheckConfig getHealthCheck()
BaseServicePropsIf 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
getHealthCheck in interface BaseServicePropspublic final String getName()
BaseServicePropsDefault: CloudFormation-generated name
getName in interface BaseServiceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.