Package com.pulumi.aws.route53
Class HealthCheckArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.route53.HealthCheckArgs.Builder
-
- Enclosing class:
- HealthCheckArgs
public static final class HealthCheckArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(HealthCheckArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckArgsbuild()HealthCheckArgs.BuilderchildHealthchecks(com.pulumi.core.Output<java.util.List<java.lang.String>> childHealthchecks)HealthCheckArgs.BuilderchildHealthchecks(java.lang.String... childHealthchecks)HealthCheckArgs.BuilderchildHealthchecks(java.util.List<java.lang.String> childHealthchecks)HealthCheckArgs.BuilderchildHealthThreshold(com.pulumi.core.Output<java.lang.Integer> childHealthThreshold)HealthCheckArgs.BuilderchildHealthThreshold(java.lang.Integer childHealthThreshold)HealthCheckArgs.BuildercloudwatchAlarmName(com.pulumi.core.Output<java.lang.String> cloudwatchAlarmName)HealthCheckArgs.BuildercloudwatchAlarmName(java.lang.String cloudwatchAlarmName)HealthCheckArgs.BuildercloudwatchAlarmRegion(com.pulumi.core.Output<java.lang.String> cloudwatchAlarmRegion)HealthCheckArgs.BuildercloudwatchAlarmRegion(java.lang.String cloudwatchAlarmRegion)HealthCheckArgs.Builderdisabled(com.pulumi.core.Output<java.lang.Boolean> disabled)HealthCheckArgs.Builderdisabled(java.lang.Boolean disabled)HealthCheckArgs.BuilderenableSni(com.pulumi.core.Output<java.lang.Boolean> enableSni)HealthCheckArgs.BuilderenableSni(java.lang.Boolean enableSni)HealthCheckArgs.BuilderfailureThreshold(com.pulumi.core.Output<java.lang.Integer> failureThreshold)HealthCheckArgs.BuilderfailureThreshold(java.lang.Integer failureThreshold)HealthCheckArgs.Builderfqdn(com.pulumi.core.Output<java.lang.String> fqdn)HealthCheckArgs.Builderfqdn(java.lang.String fqdn)HealthCheckArgs.BuilderinsufficientDataHealthStatus(com.pulumi.core.Output<java.lang.String> insufficientDataHealthStatus)HealthCheckArgs.BuilderinsufficientDataHealthStatus(java.lang.String insufficientDataHealthStatus)HealthCheckArgs.BuilderinvertHealthcheck(com.pulumi.core.Output<java.lang.Boolean> invertHealthcheck)HealthCheckArgs.BuilderinvertHealthcheck(java.lang.Boolean invertHealthcheck)HealthCheckArgs.BuilderipAddress(com.pulumi.core.Output<java.lang.String> ipAddress)HealthCheckArgs.BuilderipAddress(java.lang.String ipAddress)HealthCheckArgs.BuildermeasureLatency(com.pulumi.core.Output<java.lang.Boolean> measureLatency)HealthCheckArgs.BuildermeasureLatency(java.lang.Boolean measureLatency)HealthCheckArgs.Builderport(com.pulumi.core.Output<java.lang.Integer> port)HealthCheckArgs.Builderport(java.lang.Integer port)HealthCheckArgs.BuilderreferenceName(com.pulumi.core.Output<java.lang.String> referenceName)HealthCheckArgs.BuilderreferenceName(java.lang.String referenceName)HealthCheckArgs.Builderregions(com.pulumi.core.Output<java.util.List<java.lang.String>> regions)HealthCheckArgs.Builderregions(java.lang.String... regions)HealthCheckArgs.Builderregions(java.util.List<java.lang.String> regions)HealthCheckArgs.BuilderrequestInterval(com.pulumi.core.Output<java.lang.Integer> requestInterval)HealthCheckArgs.BuilderrequestInterval(java.lang.Integer requestInterval)HealthCheckArgs.BuilderresourcePath(com.pulumi.core.Output<java.lang.String> resourcePath)HealthCheckArgs.BuilderresourcePath(java.lang.String resourcePath)HealthCheckArgs.BuilderroutingControlArn(com.pulumi.core.Output<java.lang.String> routingControlArn)HealthCheckArgs.BuilderroutingControlArn(java.lang.String routingControlArn)HealthCheckArgs.BuildersearchString(com.pulumi.core.Output<java.lang.String> searchString)HealthCheckArgs.BuildersearchString(java.lang.String searchString)HealthCheckArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)HealthCheckArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)HealthCheckArgs.Buildertriggers(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> triggers)HealthCheckArgs.Buildertriggers(java.util.Map<java.lang.String,java.lang.String> triggers)HealthCheckArgs.Buildertype(com.pulumi.core.Output<java.lang.String> type)HealthCheckArgs.Buildertype(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(HealthCheckArgs defaults)
-
-
Method Detail
-
childHealthThreshold
public HealthCheckArgs.Builder childHealthThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> childHealthThreshold)
- Parameters:
childHealthThreshold- The minimum number of child health checks that must be healthy for Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive- Returns:
- builder
-
childHealthThreshold
public HealthCheckArgs.Builder childHealthThreshold(java.lang.Integer childHealthThreshold)
- Parameters:
childHealthThreshold- The minimum number of child health checks that must be healthy for Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive- Returns:
- builder
-
childHealthchecks
public HealthCheckArgs.Builder childHealthchecks(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> childHealthchecks)
- Parameters:
childHealthchecks- For a specified parent health check, a list of HealthCheckId values for the associated child health checks.- Returns:
- builder
-
childHealthchecks
public HealthCheckArgs.Builder childHealthchecks(java.util.List<java.lang.String> childHealthchecks)
- Parameters:
childHealthchecks- For a specified parent health check, a list of HealthCheckId values for the associated child health checks.- Returns:
- builder
-
childHealthchecks
public HealthCheckArgs.Builder childHealthchecks(java.lang.String... childHealthchecks)
- Parameters:
childHealthchecks- For a specified parent health check, a list of HealthCheckId values for the associated child health checks.- Returns:
- builder
-
cloudwatchAlarmName
public HealthCheckArgs.Builder cloudwatchAlarmName(@Nullable com.pulumi.core.Output<java.lang.String> cloudwatchAlarmName)
- Parameters:
cloudwatchAlarmName- The name of the CloudWatch alarm.- Returns:
- builder
-
cloudwatchAlarmName
public HealthCheckArgs.Builder cloudwatchAlarmName(java.lang.String cloudwatchAlarmName)
- Parameters:
cloudwatchAlarmName- The name of the CloudWatch alarm.- Returns:
- builder
-
cloudwatchAlarmRegion
public HealthCheckArgs.Builder cloudwatchAlarmRegion(@Nullable com.pulumi.core.Output<java.lang.String> cloudwatchAlarmRegion)
- Parameters:
cloudwatchAlarmRegion- The region that the CloudWatch alarm was created in.- Returns:
- builder
-
cloudwatchAlarmRegion
public HealthCheckArgs.Builder cloudwatchAlarmRegion(java.lang.String cloudwatchAlarmRegion)
- Parameters:
cloudwatchAlarmRegion- The region that the CloudWatch alarm was created in.- Returns:
- builder
-
disabled
public HealthCheckArgs.Builder disabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> disabled)
- Parameters:
disabled- A boolean value that stops Route 53 from performing health checks. When set to true, Route 53 will do the following depending on the type of health check: * For health checks that check the health of endpoints, Route53 stops submitting requests to your application, server, or other resource. * For calculated health checks, Route 53 stops aggregating the status of the referenced health checks. * For health checks that monitor CloudWatch alarms, Route 53 stops monitoring the corresponding CloudWatch metrics. > **Note:** After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of `invertHealthcheck`.- Returns:
- builder
-
disabled
public HealthCheckArgs.Builder disabled(java.lang.Boolean disabled)
- Parameters:
disabled- A boolean value that stops Route 53 from performing health checks. When set to true, Route 53 will do the following depending on the type of health check: * For health checks that check the health of endpoints, Route53 stops submitting requests to your application, server, or other resource. * For calculated health checks, Route 53 stops aggregating the status of the referenced health checks. * For health checks that monitor CloudWatch alarms, Route 53 stops monitoring the corresponding CloudWatch metrics. > **Note:** After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of `invertHealthcheck`.- Returns:
- builder
-
enableSni
public HealthCheckArgs.Builder enableSni(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableSni)
- Parameters:
enableSni- A boolean value that indicates whether Route53 should send the `fqdn` to the endpoint when performing the health check. This defaults to AWS' defaults: when the `type` is "HTTPS" `enableSni` defaults to `true`, when `type` is anything else `enableSni` defaults to `false`.- Returns:
- builder
-
enableSni
public HealthCheckArgs.Builder enableSni(java.lang.Boolean enableSni)
- Parameters:
enableSni- A boolean value that indicates whether Route53 should send the `fqdn` to the endpoint when performing the health check. This defaults to AWS' defaults: when the `type` is "HTTPS" `enableSni` defaults to `true`, when `type` is anything else `enableSni` defaults to `false`.- Returns:
- builder
-
failureThreshold
public HealthCheckArgs.Builder failureThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> failureThreshold)
- Parameters:
failureThreshold- The number of consecutive health checks that an endpoint must pass or fail.- Returns:
- builder
-
failureThreshold
public HealthCheckArgs.Builder failureThreshold(java.lang.Integer failureThreshold)
- Parameters:
failureThreshold- The number of consecutive health checks that an endpoint must pass or fail.- Returns:
- builder
-
fqdn
public HealthCheckArgs.Builder fqdn(@Nullable com.pulumi.core.Output<java.lang.String> fqdn)
- Parameters:
fqdn- The fully qualified domain name of the endpoint to be checked. If a value is set for `ipAddress`, the value set for `fqdn` will be passed in the `Host` header.- Returns:
- builder
-
fqdn
public HealthCheckArgs.Builder fqdn(java.lang.String fqdn)
- Parameters:
fqdn- The fully qualified domain name of the endpoint to be checked. If a value is set for `ipAddress`, the value set for `fqdn` will be passed in the `Host` header.- Returns:
- builder
-
insufficientDataHealthStatus
public HealthCheckArgs.Builder insufficientDataHealthStatus(@Nullable com.pulumi.core.Output<java.lang.String> insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are `Healthy` , `Unhealthy` and `LastKnownStatus`.- Returns:
- builder
-
insufficientDataHealthStatus
public HealthCheckArgs.Builder insufficientDataHealthStatus(java.lang.String insufficientDataHealthStatus)
- Parameters:
insufficientDataHealthStatus- The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are `Healthy` , `Unhealthy` and `LastKnownStatus`.- Returns:
- builder
-
invertHealthcheck
public HealthCheckArgs.Builder invertHealthcheck(@Nullable com.pulumi.core.Output<java.lang.Boolean> invertHealthcheck)
- Parameters:
invertHealthcheck- A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True , then Route 53 considers the health check to be unhealthy.- Returns:
- builder
-
invertHealthcheck
public HealthCheckArgs.Builder invertHealthcheck(java.lang.Boolean invertHealthcheck)
- Parameters:
invertHealthcheck- A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but Inverted is True , then Route 53 considers the health check to be unhealthy.- Returns:
- builder
-
ipAddress
public HealthCheckArgs.Builder ipAddress(@Nullable com.pulumi.core.Output<java.lang.String> ipAddress)
- Parameters:
ipAddress- The IP address of the endpoint to be checked.- Returns:
- builder
-
ipAddress
public HealthCheckArgs.Builder ipAddress(java.lang.String ipAddress)
- Parameters:
ipAddress- The IP address of the endpoint to be checked.- Returns:
- builder
-
measureLatency
public HealthCheckArgs.Builder measureLatency(@Nullable com.pulumi.core.Output<java.lang.Boolean> measureLatency)
- Parameters:
measureLatency- A Boolean value that indicates whether you want Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Route 53 console.- Returns:
- builder
-
measureLatency
public HealthCheckArgs.Builder measureLatency(java.lang.Boolean measureLatency)
- Parameters:
measureLatency- A Boolean value that indicates whether you want Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint and to display CloudWatch latency graphs in the Route 53 console.- Returns:
- builder
-
port
public HealthCheckArgs.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- The port of the endpoint to be checked.- Returns:
- builder
-
port
public HealthCheckArgs.Builder port(java.lang.Integer port)
- Parameters:
port- The port of the endpoint to be checked.- Returns:
- builder
-
referenceName
public HealthCheckArgs.Builder referenceName(@Nullable com.pulumi.core.Output<java.lang.String> referenceName)
- Parameters:
referenceName- This is a reference name used in Caller Reference (helpful for identifying single healthCheck set amongst others)- Returns:
- builder
-
referenceName
public HealthCheckArgs.Builder referenceName(java.lang.String referenceName)
- Parameters:
referenceName- This is a reference name used in Caller Reference (helpful for identifying single healthCheck set amongst others)- Returns:
- builder
-
regions
public HealthCheckArgs.Builder regions(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> regions)
- Parameters:
regions- List of AWS Regions from which Amazon Route 53 health checkers check the specified endpoint. Valid values are `us-east-1`, `us-west-1`, `us-west-2`, `eu-west-1`, `ap-southeast-1`, `ap-southeast-2`, `ap-northeast-1`, and `sa-east-1`. If not specified, all of the regions listed under **Valid values** are used by default. Once this argument is set, removing it has no effect.- Returns:
- builder
-
regions
public HealthCheckArgs.Builder regions(java.util.List<java.lang.String> regions)
- Parameters:
regions- List of AWS Regions from which Amazon Route 53 health checkers check the specified endpoint. Valid values are `us-east-1`, `us-west-1`, `us-west-2`, `eu-west-1`, `ap-southeast-1`, `ap-southeast-2`, `ap-northeast-1`, and `sa-east-1`. If not specified, all of the regions listed under **Valid values** are used by default. Once this argument is set, removing it has no effect.- Returns:
- builder
-
regions
public HealthCheckArgs.Builder regions(java.lang.String... regions)
- Parameters:
regions- List of AWS Regions from which Amazon Route 53 health checkers check the specified endpoint. Valid values are `us-east-1`, `us-west-1`, `us-west-2`, `eu-west-1`, `ap-southeast-1`, `ap-southeast-2`, `ap-northeast-1`, and `sa-east-1`. If not specified, all of the regions listed under **Valid values** are used by default. Once this argument is set, removing it has no effect.- Returns:
- builder
-
requestInterval
public HealthCheckArgs.Builder requestInterval(@Nullable com.pulumi.core.Output<java.lang.Integer> requestInterval)
- Parameters:
requestInterval- The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.- Returns:
- builder
-
requestInterval
public HealthCheckArgs.Builder requestInterval(java.lang.Integer requestInterval)
- Parameters:
requestInterval- The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health-check request.- Returns:
- builder
-
resourcePath
public HealthCheckArgs.Builder resourcePath(@Nullable com.pulumi.core.Output<java.lang.String> resourcePath)
- Parameters:
resourcePath- The path that you want Amazon Route 53 to request when performing health checks.- Returns:
- builder
-
resourcePath
public HealthCheckArgs.Builder resourcePath(java.lang.String resourcePath)
- Parameters:
resourcePath- The path that you want Amazon Route 53 to request when performing health checks.- Returns:
- builder
-
routingControlArn
public HealthCheckArgs.Builder routingControlArn(@Nullable com.pulumi.core.Output<java.lang.String> routingControlArn)
- Parameters:
routingControlArn- ARN for the Route 53 Application Recovery Controller routing control. This is used when health check type is `RECOVERY_CONTROL`- Returns:
- builder
-
routingControlArn
public HealthCheckArgs.Builder routingControlArn(java.lang.String routingControlArn)
- Parameters:
routingControlArn- ARN for the Route 53 Application Recovery Controller routing control. This is used when health check type is `RECOVERY_CONTROL`- Returns:
- builder
-
searchString
public HealthCheckArgs.Builder searchString(@Nullable com.pulumi.core.Output<java.lang.String> searchString)
- Parameters:
searchString- String searched in the first 5120 bytes of the response body for check to be considered healthy. Only valid with `HTTP_STR_MATCH` and `HTTPS_STR_MATCH`.- Returns:
- builder
-
searchString
public HealthCheckArgs.Builder searchString(java.lang.String searchString)
- Parameters:
searchString- String searched in the first 5120 bytes of the response body for check to be considered healthy. Only valid with `HTTP_STR_MATCH` and `HTTPS_STR_MATCH`.- Returns:
- builder
-
tags
public HealthCheckArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the health check. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public HealthCheckArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the health check. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
triggers
public HealthCheckArgs.Builder triggers(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> triggers)
- Parameters:
triggers- Map of arbitrary keys and values that, when changed, will trigger an in-place update of the CloudWatch alarm arguments. Use this argument to synchronize the health check when an alarm is changed. See example above.- Returns:
- builder
-
triggers
public HealthCheckArgs.Builder triggers(java.util.Map<java.lang.String,java.lang.String> triggers)
- Parameters:
triggers- Map of arbitrary keys and values that, when changed, will trigger an in-place update of the CloudWatch alarm arguments. Use this argument to synchronize the health check when an alarm is changed. See example above.- Returns:
- builder
-
type
public HealthCheckArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- The protocol to use when performing health checks. Valid values are `HTTP`, `HTTPS`, `HTTP_STR_MATCH`, `HTTPS_STR_MATCH`, `TCP`, `CALCULATED`, `CLOUDWATCH_METRIC` and `RECOVERY_CONTROL`.- Returns:
- builder
-
type
public HealthCheckArgs.Builder type(java.lang.String type)
- Parameters:
type- The protocol to use when performing health checks. Valid values are `HTTP`, `HTTPS`, `HTTP_STR_MATCH`, `HTTPS_STR_MATCH`, `TCP`, `CALCULATED`, `CLOUDWATCH_METRIC` and `RECOVERY_CONTROL`.- Returns:
- builder
-
build
public HealthCheckArgs build()
-
-