Interface ExternalServiceAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ExternalServiceAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.318Z") @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();
 
  • Method Details

    • getCluster

      @Stability(Stable) @NotNull ICluster getCluster()
      The cluster that hosts the service.
    • getServiceArn

      @Stability(Stable) @Nullable default String getServiceArn()
      The service ARN.

      Default: - either this, or

      invalid @link
      serviceName
      , is required
    • getServiceName

      @Stability(Stable) @Nullable default String getServiceName()
      The name of the service.

      Default: - either this, or

      invalid @link
      serviceArn
      , is required
    • builder

      @Stability(Stable) static ExternalServiceAttributes.Builder builder()
      Returns:
      a ExternalServiceAttributes.Builder of ExternalServiceAttributes