Class ServiceHealthCheckConfig
- java.lang.Object
-
- com.pulumi.aws.servicediscovery.outputs.ServiceHealthCheckConfig
-
public final class ServiceHealthCheckConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceHealthCheckConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceHealthCheckConfig.Builderbuilder()static ServiceHealthCheckConfig.Builderbuilder(ServiceHealthCheckConfig defaults)java.util.Optional<java.lang.Integer>failureThreshold()java.util.Optional<java.lang.String>resourcePath()java.util.Optional<java.lang.String>type()
-
-
-
Method Detail
-
failureThreshold
public java.util.Optional<java.lang.Integer> failureThreshold()
- Returns:
- The number of consecutive health checks. Maximum value of 10.
-
resourcePath
public java.util.Optional<java.lang.String> resourcePath()
- Returns:
- The path that you want Route 53 to request when performing health checks. Route 53 automatically adds the DNS name for the service. If you don't specify a value, the default value is /.
-
type
public java.util.Optional<java.lang.String> type()
- Returns:
- The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP
-
builder
public static ServiceHealthCheckConfig.Builder builder()
-
builder
public static ServiceHealthCheckConfig.Builder builder(ServiceHealthCheckConfig defaults)
-
-