Interface CfnTargetGroup.TargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTargetGroup.TargetProperty.Jsii$Proxy
- Enclosing class:
- CfnTargetGroup
@Stability(Stable)
public static interface CfnTargetGroup.TargetProperty
extends software.amazon.jsii.JsiiSerializable
Describes a target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.vpclattice.*;
TargetProperty targetProperty = TargetProperty.builder()
.id("id")
// the properties below are optional
.port(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTargetGroup.TargetPropertystatic final classAn implementation forCfnTargetGroup.TargetProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
The ID of the target.If the target type of the target group is
INSTANCE, this is an instance ID. If the target type isIP, this is an IP address. If the target type isLAMBDA, this is the ARN of the Lambda function. If the target type isALB, this is the ARN of the Application Load Balancer. -
getPort
The port on which the target is listening.For HTTP, the default is
80. For HTTPS, the default is443. -
builder
-