@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-11T17:58:52.463Z") @Stability(value=Stable) public abstract class ApplicationLoadBalancedServiceBase extends Construct
software.constructs.Construct.Builder
software.amazon.jsii.JsiiObject.InitializationMode
IConstruct.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
ApplicationLoadBalancedServiceBase(software.constructs.Construct scope,
String id)
Constructs a new instance of the ApplicationLoadBalancedServiceBase class.
|
protected |
ApplicationLoadBalancedServiceBase(software.constructs.Construct scope,
String id,
ApplicationLoadBalancedServiceBaseProps props)
Constructs a new instance of the ApplicationLoadBalancedServiceBase class.
|
protected |
ApplicationLoadBalancedServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ApplicationLoadBalancedServiceBase(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) |
ICertificate |
getCertificate()
Certificate Manager certificate to associate with the load balancer.
|
ICluster |
getCluster()
The cluster that hosts the service.
|
protected Cluster |
getDefaultCluster(Construct scope)
Returns the default cluster.
|
protected Cluster |
getDefaultCluster(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 listener for the service.
|
ApplicationLoadBalancer |
getLoadBalancer()
The Application Load Balancer for the service.
|
ApplicationListener |
getRedirectListener()
The redirect listener for the service if redirectHTTP is enabled.
|
ApplicationTargetGroup |
getTargetGroup()
The target group for the service.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected ApplicationLoadBalancedServiceBase(software.amazon.jsii.JsiiObjectRef objRef)
protected ApplicationLoadBalancedServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected ApplicationLoadBalancedServiceBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ApplicationLoadBalancedServiceBaseProps props)
scope
- This parameter is required.id
- This parameter is required.props
- @Stability(value=Stable) protected ApplicationLoadBalancedServiceBase(@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 Construct scope, @Nullable IVpc vpc)
scope
- This parameter is required.vpc
- @Stability(value=Stable) @NotNull protected Cluster getDefaultCluster(@NotNull Construct scope)
scope
- 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) @NotNull public ApplicationTargetGroup getTargetGroup()
@Stability(value=Stable) @Nullable public ICertificate getCertificate()
@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 public ApplicationListener getRedirectListener()
Copyright © 2022. All rights reserved.