Interface CfnTargetGroupPropsMixin.TargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTargetGroupPropsMixin.TargetProperty.Jsii$Proxy
- Enclosing class:
CfnTargetGroupPropsMixin
@Stability(Stable)
public static interface CfnTargetGroupPropsMixin.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.cfnpropertymixins.services.vpclattice.*;
TargetProperty targetProperty = TargetProperty.builder()
.id("id")
.port(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTargetGroupPropsMixin.TargetPropertystatic final classAn implementation forCfnTargetGroupPropsMixin.TargetProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
The ID of the target.If the target group type is
INSTANCE, this is an instance ID. If the target group type isIP, this is an IP address. If the target group type isLAMBDA, this is the ARN of a Lambda function. If the target group type isALB, this is the ARN of an Application Load Balancer.- See Also:
-
getPort
The port on which the target is listening.For HTTP, the default is 80. For HTTPS, the default is 443.
- See Also:
-
builder
-