@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-11T12:53:28.720Z") @Stability(value=Stable) public interface EcsTarget extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
EcsTarget.Builder
A builder for
EcsTarget |
static class |
EcsTarget.Jsii$Proxy
An implementation for
EcsTarget |
Modifier and Type | Method and Description |
---|---|
static EcsTarget.Builder |
builder() |
String |
getContainerName()
The name of the container.
|
default Number |
getContainerPort()
The port number of the container.
|
ListenerConfig |
getListener()
Listener and properties for adding target group to the listener.
|
String |
getNewTargetGroupId()
ID for a target group to be created.
|
default Protocol |
getProtocol()
The protocol used for the port mapping.
|
@Stability(value=Stable) @NotNull String getContainerName()
@Stability(value=Stable) @NotNull ListenerConfig getListener()
@Stability(value=Stable) @NotNull String getNewTargetGroupId()
@Stability(value=Stable) @Nullable default Number getContainerPort()
Only applicable when using application/network load balancers.
Default: - Container port of the first added port mapping.
@Stability(value=Stable) @Nullable default Protocol getProtocol()
Only applicable when using application load balancers.
Default: Protocol.TCP
@Stability(value=Stable) static EcsTarget.Builder builder()
EcsTarget.Builder
of EcsTarget
Copyright © 2020. All rights reserved.