Interface ServiceProps

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

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-09-10T01:10:16.416Z") @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.*;
 import software.amazon.awscdk.services.servicediscovery.*;
 INamespace namespace;
 ServiceProps serviceProps = ServiceProps.builder()
         .namespace(namespace)
         // the properties below are optional
         .customHealthCheck(HealthCheckCustomConfig.builder()
                 .failureThreshold(123)
                 .build())
         .description("description")
         .discoveryType(DiscoveryType.API)
         .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();