Interface CfnApplicationStatusCheckProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationStatusCheckProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-10T17:51:43.421Z")
@Stability(Stable)
public interface CfnApplicationStatusCheckProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnApplicationStatusCheck.
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.ec2.*;
CfnApplicationStatusCheckProps cfnApplicationStatusCheckProps = CfnApplicationStatusCheckProps.builder()
.port(123)
.protocol("protocol")
// the properties below are optional
.aggregation("aggregation")
.deviceIndex(123)
.failureThreshold(123)
.healthCheckPaths(List.of(HealthCheckPathProperty.builder()
.destinations(List.of(HealthCheckPathDestinationProperty.builder()
.securityGroupId("securityGroupId")
.subnetId("subnetId")
.build()))
.source(HealthCheckPathSourceProperty.builder()
.securityGroupId("securityGroupId")
.subnetId("subnetId")
.build())
.build()))
.initializationGracePeriodSeconds(123)
.interval(123)
.ipScope("ipScope")
.ipVersion("ipVersion")
.path("path")
.statusCodeMatcher("statusCodeMatcher")
.successThreshold(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeout(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationStatusCheckPropsstatic final classAn implementation forCfnApplicationStatusCheckProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringWhether this check is included in the rolled-up application status.default NumberThe network interface device index used for the health check.default NumberThe number of consecutive failed probes required to mark the instance unhealthy.default ObjectThe source/destination network paths used for the health check.default NumberSeconds to wait after instance launch before beginning health checks.default NumberThe interval, in seconds, between health check probes.default StringThe IP scope used for the health check.default StringThe IP version used for the health check.default StringgetPath()The HTTP path used for the health check.getPort()The port used for the health check.The network protocol used for the health check.default StringThe HTTP status codes considered successful (e.g., "200-299").default NumberThe number of consecutive successful probes required to mark the instance healthy.getTags()Tags to apply to the application status check.default NumberThe timeout, in seconds, for each health check probe.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPort
The port used for the health check.- See Also:
-
getProtocol
The network protocol used for the health check.- See Also:
-
getAggregation
Whether this check is included in the rolled-up application status.- See Also:
-
getDeviceIndex
The network interface device index used for the health check.- See Also:
-
getFailureThreshold
The number of consecutive failed probes required to mark the instance unhealthy.- See Also:
-
getHealthCheckPaths
The source/destination network paths used for the health check.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApplicationStatusCheck.HealthCheckPathProperty>- See Also:
-
getInitializationGracePeriodSeconds
Seconds to wait after instance launch before beginning health checks.- See Also:
-
getInterval
The interval, in seconds, between health check probes.- See Also:
-
getIpScope
The IP scope used for the health check.- See Also:
-
getIpVersion
The IP version used for the health check.- See Also:
-
getPath
The HTTP path used for the health check.- See Also:
-
getStatusCodeMatcher
The HTTP status codes considered successful (e.g., "200-299").- See Also:
-
getSuccessThreshold
The number of consecutive successful probes required to mark the instance healthy.- See Also:
-
getTags
Tags to apply to the application status check.- See Also:
-
getTimeout
The timeout, in seconds, for each health check probe.- See Also:
-
builder
-