@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.700Z") @Stability(value=Stable) public interface ExternalServiceAttributes 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.ecs.*;
Cluster cluster;
ExternalServiceAttributes externalServiceAttributes = ExternalServiceAttributes.builder()
.cluster(cluster)
// the properties below are optional
.serviceArn("serviceArn")
.serviceName("serviceName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExternalServiceAttributes.Builder
A builder for
ExternalServiceAttributes |
static class |
ExternalServiceAttributes.Jsii$Proxy
An implementation for
ExternalServiceAttributes |
| Modifier and Type | Method and Description |
|---|---|
static ExternalServiceAttributes.Builder |
builder() |
ICluster |
getCluster()
The cluster that hosts the service.
|
default String |
getServiceArn()
The service ARN.
|
default String |
getServiceName()
The name of the service.
|
@Stability(value=Stable) @NotNull ICluster getCluster()
@Stability(value=Stable) @Nullable default String getServiceArn()
Default: - either this, or serviceName, is required
@Stability(value=Stable) @Nullable default String getServiceName()
Default: - either this, or serviceArn, is required
@Stability(value=Stable) static ExternalServiceAttributes.Builder builder()
ExternalServiceAttributes.Builder of ExternalServiceAttributesCopyright © 2022. All rights reserved.