@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.818Z") @Stability(value=Stable) public abstract class NetworkMultipleTargetGroupsServiceBase extends software.constructs.Construct
| Modifier | Constructor and Description |
|---|---|
protected |
NetworkMultipleTargetGroupsServiceBase(software.constructs.Construct scope,
String id)
Constructs a new instance of the NetworkMultipleTargetGroupsServiceBase class.
|
protected |
NetworkMultipleTargetGroupsServiceBase(software.constructs.Construct scope,
String id,
NetworkMultipleTargetGroupsServiceBaseProps props)
Constructs a new instance of the NetworkMultipleTargetGroupsServiceBase class.
|
protected |
NetworkMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NetworkMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPortMappingForTargets(ContainerDefinition container,
List<NetworkTargetProps> targets) |
protected AwsLogDriver |
createAWSLogDriver(String prefix) |
protected NetworkListener |
findListener() |
protected NetworkListener |
findListener(String name) |
ICluster |
getCluster()
The cluster that hosts the service.
|
protected Cluster |
getDefaultCluster(software.constructs.Construct scope)
Returns the default cluster.
|
protected Cluster |
getDefaultCluster(software.constructs.Construct scope,
IVpc vpc)
Returns the default cluster.
|
Number |
getInternalDesiredCount()
The desired number of instantiations of the task definition to keep running on the service.
|
NetworkListener |
getListener()
Deprecated.
- Use `listeners` instead.
|
List<NetworkListener> |
getListeners()
The listeners of the service.
|
NetworkLoadBalancer |
getLoadBalancer()
Deprecated.
- Use `loadBalancers` instead.
|
List<NetworkLoadBalancer> |
getLoadBalancers()
The load balancers of the service.
|
protected LogDriver |
getLogDriver() |
List<NetworkTargetGroup> |
getTargetGroups()
The target groups of the service.
|
protected NetworkTargetGroup |
registerECSTargets(BaseService service,
ContainerDefinition container,
List<NetworkTargetProps> targets) |
protected void |
setLogDriver(LogDriver value) |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected NetworkMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObjectRef objRef)
protected NetworkMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected NetworkMultipleTargetGroupsServiceBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
NetworkMultipleTargetGroupsServiceBaseProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
protected NetworkMultipleTargetGroupsServiceBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable)
protected void addPortMappingForTargets(@NotNull
ContainerDefinition container,
@NotNull
List<NetworkTargetProps> targets)
container - This parameter is required.targets - This parameter is required.@Stability(value=Stable) @NotNull protected AwsLogDriver createAWSLogDriver(@NotNull String prefix)
prefix - This parameter is required.@Stability(value=Stable) @NotNull protected NetworkListener findListener(@Nullable String name)
name - @Stability(value=Stable) @NotNull protected NetworkListener findListener()
@Stability(value=Stable) @NotNull protected Cluster getDefaultCluster(@NotNull software.constructs.Construct scope, @Nullable IVpc vpc)
scope - This parameter is required.vpc - @Stability(value=Stable) @NotNull protected Cluster getDefaultCluster(@NotNull software.constructs.Construct scope)
scope - This parameter is required.@Stability(value=Stable) @NotNull protected NetworkTargetGroup registerECSTargets(@NotNull BaseService service, @NotNull ContainerDefinition container, @NotNull List<NetworkTargetProps> targets)
service - This parameter is required.container - This parameter is required.targets - This parameter is required.@Stability(value=Stable) @NotNull public ICluster getCluster()
@Stability(value=Deprecated) @Deprecated @NotNull public NetworkListener getListener()
@Stability(value=Stable) @NotNull public List<NetworkListener> getListeners()
@Stability(value=Deprecated) @Deprecated @NotNull public NetworkLoadBalancer getLoadBalancer()
@Stability(value=Stable) @NotNull public List<NetworkLoadBalancer> getLoadBalancers()
@Stability(value=Stable) @NotNull public List<NetworkTargetGroup> getTargetGroups()
@Stability(value=Stable) @Nullable public Number getInternalDesiredCount()
The default is 1 for all new services and uses the existing services desired count when updating an existing service, if one is not provided.
@Stability(value=Stable) @Nullable protected LogDriver getLogDriver()
@Stability(value=Stable)
protected void setLogDriver(@Nullable
LogDriver value)
Copyright © 2022. All rights reserved.