@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.134Z") @Stability(value=Stable) public abstract class TargetGroupBase extends software.constructs.Construct implements ITargetGroup
software.amazon.jsii.JsiiObject.InitializationModeITargetGroup.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
TargetGroupBase(software.constructs.Construct scope,
String id,
BaseTargetGroupProps baseProps,
Object additionalProps) |
protected |
TargetGroupBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TargetGroupBase(software.amazon.jsii.JsiiObjectRef objRef) |
| 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 Number |
getDefaultPort()
Default port configured for members of this target group.
|
abstract String |
getFirstLoadBalancerFullName()
Full name of first load balancer.
|
HealthCheck |
getHealthCheck() |
String |
getLoadBalancerArns()
A token representing a list of ARNs of the load balancers that route traffic to this target group.
|
software.constructs.IDependable |
getLoadBalancerAttached()
List of constructs that need to be depended on to ensure the TargetGroup is associated to a load balancer.
|
protected software.constructs.DependencyGroup |
getLoadBalancerAttachedDependencies()
Configurable dependable with all resources that lead to load balancer attachment.
|
String |
getTargetGroupArn()
The ARN of the target group.
|
String |
getTargetGroupFullName()
The full name of the target group.
|
List<String> |
getTargetGroupLoadBalancerArns()
ARNs of load balancers load balancing to this TargetGroup.
|
String |
getTargetGroupName()
The name of the target group.
|
protected TargetType |
getTargetType()
The types of the directly registered members of this target group.
|
void |
setAttribute(String key)
Set a non-standard attribute on the target group.
|
void |
setAttribute(String key,
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 List<String> |
validateTargetGroup() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected TargetGroupBase(software.amazon.jsii.JsiiObjectRef objRef)
protected TargetGroupBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
protected TargetGroupBase(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
BaseTargetGroupProps baseProps,
@NotNull
Object additionalProps)
scope - This parameter is required.id - This parameter is required.baseProps - This parameter is required.additionalProps - This parameter is required.@Stability(value=Stable)
protected void addLoadBalancerTarget(@NotNull
LoadBalancerTargetProps props)
props - This parameter is required.@Stability(value=Stable)
public void configureHealthCheck(@NotNull
HealthCheck healthCheck)
healthCheck - This parameter is required.@Stability(value=Stable)
public void setAttribute(@NotNull
String key,
@Nullable
String value)
key - This parameter is required.value - @Stability(value=Stable)
public void setAttribute(@NotNull
String key)
key - This parameter is required.@Stability(value=Stable) @NotNull protected Number getDefaultPort()
@Stability(value=Stable) @NotNull public abstract String getFirstLoadBalancerFullName()
This identifier is emitted as a dimensions of the metrics of this target group.
Example value: app/my-load-balancer/123456789
@Stability(value=Stable) @NotNull public String getLoadBalancerArns()
getLoadBalancerArns in interface ITargetGroup@Stability(value=Stable) @NotNull public software.constructs.IDependable getLoadBalancerAttached()
getLoadBalancerAttached in interface ITargetGroup@Stability(value=Stable) @NotNull protected software.constructs.DependencyGroup getLoadBalancerAttachedDependencies()
@Stability(value=Stable) @NotNull public String getTargetGroupArn()
getTargetGroupArn in interface ITargetGroup@Stability(value=Stable) @NotNull public String getTargetGroupFullName()
@Stability(value=Stable) @NotNull public List<String> getTargetGroupLoadBalancerArns()
@Stability(value=Stable) @NotNull public String getTargetGroupName()
getTargetGroupName in interface ITargetGroup@Stability(value=Stable) @NotNull public HealthCheck getHealthCheck()
@Stability(value=Stable)
public void setHealthCheck(@NotNull
HealthCheck value)
@Stability(value=Stable) @Nullable protected TargetType getTargetType()
@Stability(value=Stable)
protected void setTargetType(@Nullable
TargetType value)
Copyright © 2022. All rights reserved.