Uses of Class
software.amazon.awscdk.services.servicediscovery.Service.Builder
Package
Description
Amazon ECS Service Discovery Construct Library
-
Uses of Service.Builder in software.amazon.awscdk.services.servicediscovery
Modifier and TypeMethodDescriptionstatic Service.Builder
Service.Builder.customHealthCheck
(HealthCheckCustomConfig customHealthCheck) Structure containing failure threshold for a custom health checker.Service.Builder.description
(String description) A description of the service.Service.Builder.discoveryType
(DiscoveryType discoveryType) Controls how instances within this service can be discovered.Service.Builder.dnsRecordType
(DnsRecordType dnsRecordType) The DNS type of the record that you want AWS Cloud Map to create.The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.Service.Builder.healthCheck
(HealthCheckConfig healthCheck) Settings for an optional health check.Service.Builder.loadBalancer
(Boolean loadBalancer) Whether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.A name for the Service.Service.Builder.namespace
(INamespace namespace) The namespace that you want to use for DNS configuration.Service.Builder.routingPolicy
(RoutingPolicy routingPolicy) 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.