Interface ExternalServiceAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ExternalServiceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.516Z")
@Stability(Stable)
public interface ExternalServiceAttributes
extends software.amazon.jsii.JsiiSerializable
The properties to import from the service using the External launch type.
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.*;
Cluster cluster;
ExternalServiceAttributes externalServiceAttributes = ExternalServiceAttributes.builder()
.cluster(cluster)
// the properties below are optional
.serviceArn("serviceArn")
.serviceName("serviceName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forExternalServiceAttributesstatic final classAn implementation forExternalServiceAttributes -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCluster
The cluster that hosts the service. -
getServiceArn
The service ARN.Default: - either this, or `serviceName`, is required
-
getServiceName
The name of the service.Default: - either this, or `serviceArn`, is required
-
builder
- Returns:
- a
ExternalServiceAttributes.BuilderofExternalServiceAttributes
-