Interface ServiceReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:32.787Z")
@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.interfaces.ecs.*;
ServiceReference serviceReference = ServiceReference.builder()
.cluster("cluster")
.serviceArn("serviceArn")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forServiceReferencestatic final classAn implementation forServiceReference -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceReference.Builderbuilder()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.BuilderofServiceReference
-