@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.810Z") @Stability(value=Stable) public abstract class NetworkLoadBalancedServiceBase extends software.constructs.Construct
| Modifier | Constructor and Description |
|---|---|
protected |
NetworkLoadBalancedServiceBase(software.constructs.Construct scope,
String id)
Constructs a new instance of the NetworkLoadBalancedServiceBase class.
|
protected |
NetworkLoadBalancedServiceBase(software.constructs.Construct scope,
String id,
NetworkLoadBalancedServiceBaseProps props)
Constructs a new instance of the NetworkLoadBalancedServiceBase class.
|
protected |
NetworkLoadBalancedServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NetworkLoadBalancedServiceBase(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addServiceAsTarget(BaseService service)
Adds service as a target of the target group.
|
protected AwsLogDriver |
createAWSLogDriver(String prefix) |
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()
The listener for the service.
|
NetworkLoadBalancer |
getLoadBalancer()
The Network Load Balancer for the service.
|
NetworkTargetGroup |
getTargetGroup()
The target group for the service.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected NetworkLoadBalancedServiceBase(software.amazon.jsii.JsiiObjectRef objRef)
protected NetworkLoadBalancedServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected NetworkLoadBalancedServiceBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
NetworkLoadBalancedServiceBaseProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
protected NetworkLoadBalancedServiceBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Stable)
protected void addServiceAsTarget(@NotNull
BaseService service)
service - This parameter is required.@Stability(value=Stable) @NotNull protected AwsLogDriver createAWSLogDriver(@NotNull String prefix)
prefix - This parameter is required.@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 public ICluster getCluster()
@Stability(value=Stable) @NotNull public NetworkListener getListener()
@Stability(value=Stable) @NotNull public NetworkLoadBalancer getLoadBalancer()
@Stability(value=Stable) @NotNull public NetworkTargetGroup getTargetGroup()
@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.
Copyright © 2022. All rights reserved.