Class TargetGroupBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.elasticloadbalancingv2.TargetGroupBase
- All Implemented Interfaces:
IConstruct,IDependable,ITargetGroup,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
- Direct Known Subclasses:
ApplicationTargetGroup,NetworkTargetGroup
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.396Z")
@Stability(Stable)
public abstract class TargetGroupBase
extends Construct
implements ITargetGroup
Define the target of a load balancer.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.constructs.Construct
software.constructs.Construct.BuilderNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ITargetGroup
ITargetGroup.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTargetGroupBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedTargetGroupBase(software.amazon.jsii.JsiiObjectRef objRef) protectedTargetGroupBase(software.constructs.Construct scope, String id, BaseTargetGroupProps baseProps, Object additionalProps) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidRegister the given load balancing target as part of this group.voidconfigureHealthCheck(HealthCheck healthCheck) Set/replace the target group's health check.protected NumberDefault port configured for members of this target group.abstract StringFull name of first load balancer.A token representing a list of ARNs of the load balancers that route traffic to this target group.List of constructs that need to be depended on to ensure the TargetGroup is associated to a load balancer.protected ConcreteDependableConfigurable dependable with all resources that lead to load balancer attachment.The ARN of the target group.The full name of the target group.ARNs of load balancers load balancing to this TargetGroup.The name of the target group.protected TargetTypeThe types of the directly registered members of this target group.voidsetAttribute(String key) Set a non-standard attribute on the target group.voidsetAttribute(String key, String value) Set a non-standard attribute on the target group.voidsetHealthCheck(HealthCheck value) protected voidsetTargetType(TargetType value) The types of the directly registered members of this target group.validate()Validate the current construct.Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesizeMethods inherited from class software.constructs.Construct
toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
TargetGroupBase
protected TargetGroupBase(software.amazon.jsii.JsiiObjectRef objRef) -
TargetGroupBase
protected TargetGroupBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
TargetGroupBase
@Stability(Stable) protected TargetGroupBase(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull BaseTargetGroupProps baseProps, @NotNull Object additionalProps) - Parameters:
scope- This parameter is required.id- This parameter is required.baseProps- This parameter is required.additionalProps- This parameter is required.
-
-
Method Details
-
addLoadBalancerTarget
Register the given load balancing target as part of this group.- Parameters:
props- This parameter is required.
-
configureHealthCheck
Set/replace the target group's health check.- Parameters:
healthCheck- This parameter is required.
-
setAttribute
Set a non-standard attribute on the target group.- Parameters:
key- This parameter is required.value-- See Also:
-
setAttribute
Set a non-standard attribute on the target group.- Parameters:
key- This parameter is required.- See Also:
-
validate
Validate the current construct.This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
-
getDefaultPort
Default port configured for members of this target group. -
getFirstLoadBalancerFullName
Full name of first load balancer.This identifier is emitted as a dimensions of the metrics of this target group.
Example value:
app/my-load-balancer/123456789 -
getLoadBalancerArns
A token representing a list of ARNs of the load balancers that route traffic to this target group.- Specified by:
getLoadBalancerArnsin interfaceITargetGroup
-
getLoadBalancerAttached
List of constructs that need to be depended on to ensure the TargetGroup is associated to a load balancer.- Specified by:
getLoadBalancerAttachedin interfaceITargetGroup
-
getLoadBalancerAttachedDependencies
Configurable dependable with all resources that lead to load balancer attachment. -
getTargetGroupArn
The ARN of the target group.- Specified by:
getTargetGroupArnin interfaceITargetGroup
-
getTargetGroupFullName
The full name of the target group. -
getTargetGroupLoadBalancerArns
ARNs of load balancers load balancing to this TargetGroup. -
getTargetGroupName
The name of the target group.- Specified by:
getTargetGroupNamein interfaceITargetGroup
-
getHealthCheck
-
setHealthCheck
-
getTargetType
The types of the directly registered members of this target group. -
setTargetType
The types of the directly registered members of this target group.
-