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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTargetGroup.TargetProperty
static final class
An 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 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
-