@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:52.496Z") @Stability(value=Stable) public abstract class ApplicationMultipleTargetGroupsServiceBase extends Construct
software.constructs.Construct.Builder
software.amazon.jsii.JsiiObject.InitializationMode
IConstruct.Jsii$Default
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 |
getDesiredCount()
Deprecated.
- Use `internalDesiredCount` instead.
|
Number |
getInternalDesiredCount()
The desired number of instantiations of the task definition to keep running on the service.
|
ApplicationListener |
getListener()
The default listener for the service (first added listener).
|
protected List<ApplicationListener> |
getListeners() |
ApplicationLoadBalancer |
getLoadBalancer()
The default Application Load Balancer for the service (first added load balancer).
|
protected LogDriver |
getLogDriver() |
protected List<ApplicationTargetGroup> |
getTargetGroups() |
protected ApplicationTargetGroup |
registerECSTargets(BaseService service,
ContainerDefinition container,
List<ApplicationTargetProps> targets) |
protected void |
setListeners(List<ApplicationListener> value) |
protected void |
setLogDriver(LogDriver value) |
protected void |
setTargetGroups(List<ApplicationTargetGroup> value) |
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected 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 Number getDesiredCount()
@Stability(value=Stable) @NotNull public ApplicationListener getListener()
@Stability(value=Stable) @NotNull public ApplicationLoadBalancer getLoadBalancer()
@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) @NotNull protected List<ApplicationListener> getListeners()
@Stability(value=Stable) protected void setListeners(@NotNull List<ApplicationListener> value)
@Stability(value=Stable) @NotNull protected List<ApplicationTargetGroup> getTargetGroups()
@Stability(value=Stable) protected void setTargetGroups(@NotNull List<ApplicationTargetGroup> value)
@Stability(value=Stable) @Nullable protected LogDriver getLogDriver()
@Stability(value=Stable) protected void setLogDriver(@Nullable LogDriver value)
Copyright © 2022. All rights reserved.