@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-06-22T23:28:01.481Z")
public interface Ec2ServiceAttributes
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()
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 Ec2ServiceAttributes.Builder builder()
Ec2ServiceAttributes.Builder
of Ec2ServiceAttributes