Interface ServiceProps

All Superinterfaces:
BaseServiceProps, DnsServiceProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ServiceProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.668Z") @Stability(Stable) public interface ServiceProps extends software.amazon.jsii.JsiiSerializable, DnsServiceProps
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.servicediscovery.*;
 import software.amazon.awscdk.core.*;
 INamespace namespace;
 ServiceProps serviceProps = ServiceProps.builder()
         .namespace(namespace)
         // the properties below are optional
         .customHealthCheck(HealthCheckCustomConfig.builder()
                 .failureThreshold(123)
                 .build())
         .description("description")
         .dnsRecordType(DnsRecordType.A)
         .dnsTtl(Duration.minutes(30))
         .healthCheck(HealthCheckConfig.builder()
                 .failureThreshold(123)
                 .resourcePath("resourcePath")
                 .type(HealthCheckType.HTTP)
                 .build())
         .loadBalancer(false)
         .name("name")
         .routingPolicy(RoutingPolicy.WEIGHTED)
         .build();