Class CfnApplicationStatusCheckPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnApplicationStatusCheckPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationStatusCheckPropsMixin>
- Enclosing class:
CfnApplicationStatusCheckPropsMixin
@Stability(Stable)
public static final class CfnApplicationStatusCheckPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationStatusCheckPropsMixin>
A fluent builder for
CfnApplicationStatusCheckPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaggregation(String aggregation) Whether this check is included in the rolled-up application status.build()create()create(CfnPropertyMixinOptions options) deviceIndex(Number deviceIndex) The network interface device index used for the health check.failureThreshold(Number failureThreshold) The number of consecutive failed probes required to mark the instance unhealthy.healthCheckPaths(List<? extends Object> healthCheckPaths) The source/destination network paths used for the health check.healthCheckPaths(IResolvable healthCheckPaths) The source/destination network paths used for the health check.initializationGracePeriodSeconds(Number initializationGracePeriodSeconds) Seconds to wait after instance launch before beginning health checks.The interval, in seconds, between health check probes.The IP scope used for the health check.The IP version used for the health check.The HTTP path used for the health check.The port used for the health check.The network protocol used for the health check.statusCodeMatcher(String statusCodeMatcher) The HTTP status codes considered successful (e.g., "200-299").successThreshold(Number successThreshold) The number of consecutive successful probes required to mark the instance healthy.Tags to apply to the application status check.The timeout, in seconds, for each health check probe.
-
Method Details
-
create
@Stability(Stable) public static CfnApplicationStatusCheckPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnApplicationStatusCheckPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnApplicationStatusCheckPropsMixin.Builder.
-
aggregation
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder aggregation(String aggregation) Whether this check is included in the rolled-up application status.- Parameters:
aggregation- Whether this check is included in the rolled-up application status. This parameter is required.- Returns:
this- See Also:
-
deviceIndex
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder deviceIndex(Number deviceIndex) The network interface device index used for the health check.- Parameters:
deviceIndex- The network interface device index used for the health check. This parameter is required.- Returns:
this- See Also:
-
failureThreshold
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder failureThreshold(Number failureThreshold) The number of consecutive failed probes required to mark the instance unhealthy.- Parameters:
failureThreshold- The number of consecutive failed probes required to mark the instance unhealthy. This parameter is required.- Returns:
this- See Also:
-
healthCheckPaths
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder healthCheckPaths(IResolvable healthCheckPaths) The source/destination network paths used for the health check.- Parameters:
healthCheckPaths- The source/destination network paths used for the health check. This parameter is required.- Returns:
this- See Also:
-
healthCheckPaths
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder healthCheckPaths(List<? extends Object> healthCheckPaths) The source/destination network paths used for the health check.- Parameters:
healthCheckPaths- The source/destination network paths used for the health check. This parameter is required.- Returns:
this- See Also:
-
initializationGracePeriodSeconds
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder initializationGracePeriodSeconds(Number initializationGracePeriodSeconds) Seconds to wait after instance launch before beginning health checks.- Parameters:
initializationGracePeriodSeconds- Seconds to wait after instance launch before beginning health checks. This parameter is required.- Returns:
this- See Also:
-
interval
The interval, in seconds, between health check probes.- Parameters:
interval- The interval, in seconds, between health check probes. This parameter is required.- Returns:
this- See Also:
-
ipScope
The IP scope used for the health check.- Parameters:
ipScope- The IP scope used for the health check. This parameter is required.- Returns:
this- See Also:
-
ipVersion
The IP version used for the health check.- Parameters:
ipVersion- The IP version used for the health check. This parameter is required.- Returns:
this- See Also:
-
path
The HTTP path used for the health check.- Parameters:
path- The HTTP path used for the health check. This parameter is required.- Returns:
this- See Also:
-
port
The port used for the health check.- Parameters:
port- The port used for the health check. This parameter is required.- Returns:
this- See Also:
-
protocol
The network protocol used for the health check.- Parameters:
protocol- The network protocol used for the health check. This parameter is required.- Returns:
this- See Also:
-
statusCodeMatcher
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder statusCodeMatcher(String statusCodeMatcher) The HTTP status codes considered successful (e.g., "200-299").- Parameters:
statusCodeMatcher- The HTTP status codes considered successful (e.g., "200-299"). This parameter is required.- Returns:
this- See Also:
-
successThreshold
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder successThreshold(Number successThreshold) The number of consecutive successful probes required to mark the instance healthy.- Parameters:
successThreshold- The number of consecutive successful probes required to mark the instance healthy. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnApplicationStatusCheckPropsMixin.Builder tags(List<? extends CfnTag> tags) Tags to apply to the application status check.- Parameters:
tags- Tags to apply to the application status check. This parameter is required.- Returns:
this- See Also:
-
timeout
The timeout, in seconds, for each health check probe.- Parameters:
timeout- The timeout, in seconds, for each health check probe. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationStatusCheckPropsMixin>- Returns:
- a newly built instance of
CfnApplicationStatusCheckPropsMixin.
-