@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:47.494Z") @Stability(value=Experimental) public interface Ec2ServiceAttributes 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;
Ec2ServiceAttributes ec2ServiceAttributes = Ec2ServiceAttributes.builder()
.cluster(cluster)
// the properties below are optional
.serviceArn("serviceArn")
.serviceName("serviceName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Ec2ServiceAttributes.Builder
A builder for
Ec2ServiceAttributes |
static class |
Ec2ServiceAttributes.Jsii$Proxy
An implementation for
Ec2ServiceAttributes |
| Modifier and Type | Method and Description |
|---|---|
static Ec2ServiceAttributes.Builder |
builder() |
ICluster |
getCluster()
(experimental) The cluster that hosts the service.
|
default String |
getServiceArn()
(experimental) The service ARN.
|
default String |
getServiceName()
(experimental) The name of the service.
|
@Stability(value=Experimental) @NotNull ICluster getCluster()
@Stability(value=Experimental) @Nullable default String getServiceArn()
Default: - either this, or serviceName, is required
@Stability(value=Experimental) @Nullable default String getServiceName()
Default: - either this, or serviceArn, is required
@Stability(value=Experimental) static Ec2ServiceAttributes.Builder builder()
Ec2ServiceAttributes.Builder of Ec2ServiceAttributesCopyright © 2022. All rights reserved.