@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:36.687Z") public abstract class ApplicationLoadBalancedServiceBase extends Construct
IConstruct.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
ApplicationLoadBalancedServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ApplicationLoadBalancedServiceBase(software.amazon.jsii.JsiiObjectRef objRef) |
protected |
ApplicationLoadBalancedServiceBase(software.constructs.Construct scope,
java.lang.String id)
Constructs a new instance of the ApplicationLoadBalancedServiceBase class.
|
protected |
ApplicationLoadBalancedServiceBase(software.constructs.Construct scope,
java.lang.String id,
ApplicationLoadBalancedServiceBaseProps props)
Constructs a new instance of the ApplicationLoadBalancedServiceBase class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addServiceAsTarget(BaseService service)
Adds service as a target of the target group.
|
protected AwsLogDriver |
createAWSLogDriver(java.lang.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.
|
java.lang.Number |
getDesiredCount()
Deprecated.
- Use `internalDesiredCount` instead.
|
java.lang.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
protected ApplicationLoadBalancedServiceBase(software.amazon.jsii.JsiiObjectRef objRef)
protected ApplicationLoadBalancedServiceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected ApplicationLoadBalancedServiceBase(software.constructs.Construct scope, java.lang.String id, ApplicationLoadBalancedServiceBaseProps props)
scope
- This parameter is required.id
- This parameter is required.props
- protected ApplicationLoadBalancedServiceBase(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.protected void addServiceAsTarget(BaseService service)
service
- This parameter is required.protected AwsLogDriver createAWSLogDriver(java.lang.String prefix)
prefix
- This parameter is required.protected Cluster getDefaultCluster(Construct scope, IVpc vpc)
scope
- This parameter is required.vpc
- protected Cluster getDefaultCluster(Construct scope)
scope
- This parameter is required.public ICluster getCluster()
@Deprecated public java.lang.Number getDesiredCount()
public ApplicationListener getListener()
public ApplicationLoadBalancer getLoadBalancer()
public ApplicationTargetGroup getTargetGroup()
public ICertificate getCertificate()
public java.lang.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.
public ApplicationListener getRedirectListener()