@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:47.165Z") public abstract class TargetGroupBase extends Construct implements ITargetGroup
ITargetGroup.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
TargetGroupBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TargetGroupBase(software.amazon.jsii.JsiiObjectRef objRef) |
protected |
TargetGroupBase(software.constructs.Construct scope,
java.lang.String id,
BaseTargetGroupProps baseProps,
java.lang.Object additionalProps) |
Modifier and Type | Method and Description |
---|---|
protected void |
addLoadBalancerTarget(LoadBalancerTargetProps props)
Register the given load balancing target as part of this group.
|
void |
configureHealthCheck(HealthCheck healthCheck)
Set/replace the target group's health check.
|
protected java.lang.Number |
getDefaultPort()
Default port configured for members of this target group.
|
abstract java.lang.String |
getFirstLoadBalancerFullName()
Full name of first load balancer.
|
HealthCheck |
getHealthCheck() |
java.lang.String |
getLoadBalancerArns()
A token representing a list of ARNs of the load balancers that route traffic to this target group.
|
IDependable |
getLoadBalancerAttached()
List of constructs that need to be depended on to ensure the TargetGroup is associated to a load balancer.
|
protected ConcreteDependable |
getLoadBalancerAttachedDependencies()
Configurable dependable with all resources that lead to load balancer attachment.
|
java.lang.String |
getTargetGroupArn()
The ARN of the target group.
|
java.lang.String |
getTargetGroupFullName()
The full name of the target group.
|
java.util.List<java.lang.String> |
getTargetGroupLoadBalancerArns()
ARNs of load balancers load balancing to this TargetGroup.
|
java.lang.String |
getTargetGroupName()
The name of the target group.
|
protected TargetType |
getTargetType()
The types of the directly registered members of this target group.
|
void |
setAttribute(java.lang.String key)
Set a non-standard attribute on the target group.
|
void |
setAttribute(java.lang.String key,
java.lang.String value)
Set a non-standard attribute on the target group.
|
void |
setHealthCheck(HealthCheck value) |
protected void |
setTargetType(TargetType value)
The types of the directly registered members of this target group.
|
protected java.util.List<java.lang.String> |
validate()
Validate the current construct.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNode
protected TargetGroupBase(software.amazon.jsii.JsiiObjectRef objRef)
protected TargetGroupBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected TargetGroupBase(software.constructs.Construct scope, java.lang.String id, BaseTargetGroupProps baseProps, java.lang.Object additionalProps)
scope
- This parameter is required.id
- This parameter is required.baseProps
- This parameter is required.additionalProps
- This parameter is required.protected void addLoadBalancerTarget(LoadBalancerTargetProps props)
props
- This parameter is required.public void configureHealthCheck(HealthCheck healthCheck)
healthCheck
- This parameter is required.public void setAttribute(java.lang.String key, java.lang.String value)
key
- This parameter is required.value
- public void setAttribute(java.lang.String key)
key
- This parameter is required.protected java.util.List<java.lang.String> validate()
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
protected java.lang.Number getDefaultPort()
public abstract java.lang.String getFirstLoadBalancerFullName()
This identifier is emitted as a dimensions of the metrics of this target group.
Example value: app/my-load-balancer/123456789
public java.lang.String getLoadBalancerArns()
getLoadBalancerArns
in interface ITargetGroup
public IDependable getLoadBalancerAttached()
getLoadBalancerAttached
in interface ITargetGroup
protected ConcreteDependable getLoadBalancerAttachedDependencies()
public java.lang.String getTargetGroupArn()
getTargetGroupArn
in interface ITargetGroup
public java.lang.String getTargetGroupFullName()
public java.util.List<java.lang.String> getTargetGroupLoadBalancerArns()
public java.lang.String getTargetGroupName()
getTargetGroupName
in interface ITargetGroup
public HealthCheck getHealthCheck()
public void setHealthCheck(HealthCheck value)
protected TargetType getTargetType()
protected void setTargetType(TargetType value)