Interface ServiceReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:52:07.323Z")
@Stability(Stable)
public interface ServiceReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Service resource.
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.*; ServiceReference serviceReference = ServiceReference.builder() .serviceArn("serviceArn") .serviceId("serviceId") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forServiceReference
static final class
An implementation forServiceReference
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceReference.Builder
builder()
The ARN of the Service resource.The Id of the Service resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getServiceArn
The ARN of the Service resource. -
getServiceId
The Id of the Service resource. -
builder
- Returns:
- a
ServiceReference.Builder
ofServiceReference
-