@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:48.050Z") @Stability(value=Experimental) public interface DnsServiceProps extends software.amazon.jsii.JsiiSerializable, BaseServiceProps
Used by createService() for PrivateDnsNamespace and PublicDnsNamespace
| Modifier and Type | Interface and Description |
|---|---|
static class |
DnsServiceProps.Builder
A builder for
DnsServiceProps |
static class |
DnsServiceProps.Jsii$Proxy
An implementation for
DnsServiceProps |
| Modifier and Type | Method and Description |
|---|---|
static DnsServiceProps.Builder |
builder() |
default DnsRecordType |
getDnsRecordType()
(experimental) The DNS type of the record that you want AWS Cloud Map to create.
|
default Duration |
getDnsTtl()
(experimental) The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.
|
default Boolean |
getLoadBalancer()
(experimental) Whether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.
|
default RoutingPolicy |
getRoutingPolicy()
(experimental) 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.
|
getCustomHealthCheck, getDescription, getHealthCheck, getName@Stability(value=Experimental) @Nullable default DnsRecordType getDnsRecordType()
Supported record types include A, AAAA, A and AAAA (A_AAAA), CNAME, and SRV.
Default: A
@Stability(value=Experimental) @Nullable default Duration getDnsTtl()
Default: Duration.minutes(1)
@Stability(value=Experimental) @Nullable default Boolean getLoadBalancer()
Setting this to true correctly configures the routingPolicy
and performs some additional validation.
Default: false
@Stability(value=Experimental) @Nullable default RoutingPolicy getRoutingPolicy()
Default: WEIGHTED for CNAME records and when loadBalancer is true, MULTIVALUE otherwise
@Stability(value=Experimental) static DnsServiceProps.Builder builder()
builder in interface BaseServicePropsDnsServiceProps.Builder of DnsServicePropsCopyright © 2021. All rights reserved.