@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.792Z") @Stability(value=Stable) public abstract class ApplicationMultipleTargetGroupsServiceBase extends software.constructs.Construct
| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationMultipleTargetGroupsServiceBase(software.constructs.Construct scope,
String id)
Constructs a new instance of the ApplicationMultipleTargetGroupsServiceBase class.
|
protected |
ApplicationMultipleTargetGroupsServiceBase(software.constructs.Construct scope,
String id,
ApplicationMultipleTargetGroupsServiceBaseProps props)
Constructs a new instance of the ApplicationMultipleTargetGroupsServiceBase class.
|
protected |
ApplicationMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ApplicationMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPortMappingForTargets(ContainerDefinition container,
List<ApplicationTargetProps> targets) |
protected AwsLogDriver |
createAWSLogDriver(String prefix) |
protected ApplicationListener |
findListener() |
protected ApplicationListener |
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.
|
ApplicationListener |
getListener()
Deprecated.
- Use `listeners` instead.
|
List<ApplicationListener> |
getListeners()
The listeners of the service.
|
ApplicationLoadBalancer |
getLoadBalancer()
Deprecated.
- Use `loadBalancers` instead.
|
List<ApplicationLoadBalancer> |
getLoadBalancers()
The load balancers of the service.
|
protected LogDriver |
getLogDriver() |
List<ApplicationTargetGroup> |
getTargetGroups()
The target groups of the service.
|
protected ApplicationTargetGroup |
registerECSTargets(BaseService service,
ContainerDefinition container,
List<ApplicationTargetProps> targets) |
protected void |
setLogDriver(LogDriver value) |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ApplicationMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObjectRef objRef)
protected ApplicationMultipleTargetGroupsServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected ApplicationMultipleTargetGroupsServiceBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ApplicationMultipleTargetGroupsServiceBaseProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
protected ApplicationMultipleTargetGroupsServiceBase(@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<ApplicationTargetProps> 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 ApplicationListener findListener(@Nullable String name)
name - @Stability(value=Stable) @NotNull protected ApplicationListener 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 ApplicationTargetGroup registerECSTargets(@NotNull BaseService service, @NotNull ContainerDefinition container, @NotNull List<ApplicationTargetProps> 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 ApplicationListener getListener()
@Stability(value=Stable) @NotNull public List<ApplicationListener> getListeners()
@Stability(value=Deprecated) @Deprecated @NotNull public ApplicationLoadBalancer getLoadBalancer()
@Stability(value=Stable) @NotNull public List<ApplicationLoadBalancer> getLoadBalancers()
@Stability(value=Stable) @NotNull public List<ApplicationTargetGroup> 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.