Interface ServiceAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:23.832Z")
@Stability(Stable)
public interface ServiceAttributes
extends software.amazon.jsii.JsiiSerializable
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.*; INamespace namespace; ServiceAttributes serviceAttributes = ServiceAttributes.builder() .dnsRecordType(DnsRecordType.A) .namespace(namespace) .routingPolicy(RoutingPolicy.WEIGHTED) .serviceArn("serviceArn") .serviceId("serviceId") .serviceName("serviceName") // the properties below are optional .discoveryType(DiscoveryType.API) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forServiceAttributes
static final class
An implementation forServiceAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceAttributes.Builder
builder()
default DiscoveryType
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDnsRecordType
-
getNamespace
-
getRoutingPolicy
-
getServiceArn
-
getServiceId
-
getServiceName
-
getDiscoveryType
-
builder
- Returns:
- a
ServiceAttributes.Builder
ofServiceAttributes
-