@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.864Z") @Stability(value=Experimental) public abstract class NetworkLoadBalancedServiceBase extends software.constructs.Construct
| Modifier | Constructor and Description |
|---|---|
protected |
NetworkLoadBalancedServiceBase(software.constructs.Construct scope,
String id)
(experimental) Constructs a new instance of the NetworkLoadBalancedServiceBase class.
|
protected |
NetworkLoadBalancedServiceBase(software.constructs.Construct scope,
String id,
NetworkLoadBalancedServiceBaseProps props)
(experimental) 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)
(experimental) Adds service as a target of the target group.
|
protected AwsLogDriver |
createAWSLogDriver(String prefix) |
ICluster |
getCluster()
(experimental) The cluster that hosts the service.
|
protected Cluster |
getDefaultCluster(software.constructs.Construct scope)
(experimental) Returns the default cluster.
|
protected Cluster |
getDefaultCluster(software.constructs.Construct scope,
IVpc vpc)
(experimental) Returns the default cluster.
|
Number |
getInternalDesiredCount()
(experimental) The desired number of instantiations of the task definition to keep running on the service.
|
NetworkListener |
getListener()
(experimental) The listener for the service.
|
NetworkLoadBalancer |
getLoadBalancer()
(experimental) The Network Load Balancer for the service.
|
NetworkTargetGroup |
getTargetGroup()
(experimental) 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=Experimental)
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=Experimental)
protected NetworkLoadBalancedServiceBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental)
protected void addServiceAsTarget(@NotNull
BaseService service)
service - This parameter is required.@Stability(value=Experimental) @NotNull protected AwsLogDriver createAWSLogDriver(@NotNull String prefix)
prefix - This parameter is required.@Stability(value=Experimental) @NotNull protected Cluster getDefaultCluster(@NotNull software.constructs.Construct scope, @Nullable IVpc vpc)
scope - This parameter is required.vpc - @Stability(value=Experimental) @NotNull protected Cluster getDefaultCluster(@NotNull software.constructs.Construct scope)
scope - This parameter is required.@Stability(value=Experimental) @NotNull public ICluster getCluster()
@Stability(value=Experimental) @NotNull public NetworkListener getListener()
@Stability(value=Experimental) @NotNull public NetworkLoadBalancer getLoadBalancer()
@Stability(value=Experimental) @NotNull public NetworkTargetGroup getTargetGroup()
@Stability(value=Experimental) @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 © 2021. All rights reserved.