@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-14T16:25:35.468Z")
public interface ExternalServiceAttributes
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 java.lang.String |
getServiceArn()
The service ARN.
|
default java.lang.String |
getServiceName()
The name of the service.
|
ICluster getCluster()
default java.lang.String getServiceArn()
Default: - either this, or serviceName
, is required
default java.lang.String getServiceName()
Default: - either this, or serviceArn
, is required
static ExternalServiceAttributes.Builder builder()
ExternalServiceAttributes.Builder
of ExternalServiceAttributes