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:51:56.979Z")
@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.ecs.*; ServiceReference serviceReference = ServiceReference.builder() .cluster("cluster") .serviceArn("serviceArn") .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 Cluster of the Service resource.The ServiceArn of the Service resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCluster
The Cluster of the Service resource. -
getServiceArn
The ServiceArn of the Service resource. -
builder
- Returns:
- a
ServiceReference.Builder
ofServiceReference
-