Interface CfnTargetGroupProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTargetGroupProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:17.040Z") @Stability(Stable) public interface CfnTargetGroupProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnTargetGroup.

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.elasticloadbalancingv2.*;
 CfnTargetGroupProps cfnTargetGroupProps = CfnTargetGroupProps.builder()
         .healthCheckEnabled(false)
         .healthCheckIntervalSeconds(123)
         .healthCheckPath("healthCheckPath")
         .healthCheckPort("healthCheckPort")
         .healthCheckProtocol("healthCheckProtocol")
         .healthCheckTimeoutSeconds(123)
         .healthyThresholdCount(123)
         .ipAddressType("ipAddressType")
         .matcher(MatcherProperty.builder()
                 .grpcCode("grpcCode")
                 .httpCode("httpCode")
                 .build())
         .name("name")
         .port(123)
         .protocol("protocol")
         .protocolVersion("protocolVersion")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targetGroupAttributes(List.of(TargetGroupAttributeProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targets(List.of(TargetDescriptionProperty.builder()
                 .id("id")
                 // the properties below are optional
                 .availabilityZone("availabilityZone")
                 .port(123)
                 .build()))
         .targetType("targetType")
         .unhealthyThresholdCount(123)
         .vpcId("vpcId")
         .build();
 

See Also: