Interface CfnTargetGroupProps

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

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:24.737Z") @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.vpclattice.*;
 CfnTargetGroupProps cfnTargetGroupProps = CfnTargetGroupProps.builder()
         .type("type")
         // the properties below are optional
         .config(TargetGroupConfigProperty.builder()
                 .healthCheck(HealthCheckConfigProperty.builder()
                         .enabled(false)
                         .healthCheckIntervalSeconds(123)
                         .healthCheckTimeoutSeconds(123)
                         .healthyThresholdCount(123)
                         .matcher(MatcherProperty.builder()
                                 .httpCode("httpCode")
                                 .build())
                         .path("path")
                         .port(123)
                         .protocol("protocol")
                         .protocolVersion("protocolVersion")
                         .unhealthyThresholdCount(123)
                         .build())
                 .ipAddressType("ipAddressType")
                 .lambdaEventStructureVersion("lambdaEventStructureVersion")
                 .port(123)
                 .protocol("protocol")
                 .protocolVersion("protocolVersion")
                 .vpcIdentifier("vpcIdentifier")
                 .build())
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targets(List.of(TargetProperty.builder()
                 .id("id")
                 // the properties below are optional
                 .port(123)
                 .build()))
         .build();
 

See Also: