| Package | Description |
|---|---|
| software.amazon.awscdk.services.servicediscovery |
Amazon ECS Service Discovery Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static Service.Builder |
Service.Builder.create(software.constructs.Construct scope,
String id) |
Service.Builder |
Service.Builder.customHealthCheck(HealthCheckCustomConfig customHealthCheck)
(experimental) Structure containing failure threshold for a custom health checker.
|
Service.Builder |
Service.Builder.description(String description)
(experimental) A description of the service.
|
Service.Builder |
Service.Builder.dnsRecordType(DnsRecordType dnsRecordType)
(experimental) The DNS type of the record that you want AWS Cloud Map to create.
|
Service.Builder |
Service.Builder.dnsTtl(Duration dnsTtl)
(experimental) The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.
|
Service.Builder |
Service.Builder.healthCheck(HealthCheckConfig healthCheck)
(experimental) Settings for an optional health check.
|
Service.Builder |
Service.Builder.loadBalancer(Boolean loadBalancer)
(experimental) Whether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.
|
Service.Builder |
Service.Builder.name(String name)
(experimental) A name for the Service.
|
Service.Builder |
Service.Builder.namespace(INamespace namespace)
(experimental) The namespace that you want to use for DNS configuration.
|
Service.Builder |
Service.Builder.routingPolicy(RoutingPolicy routingPolicy)
(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.
|
Copyright © 2021. All rights reserved.