HealthCheckState constructor

const HealthCheckState({
  1. Input<String?>? arn,
  2. Input<int?>? childHealthThreshold,
  3. Input<List<String>?>? childHealthchecks,
  4. Input<String?>? cloudwatchAlarmName,
  5. Input<String?>? cloudwatchAlarmRegion,
  6. Input<bool?>? disabled,
  7. Input<bool?>? enableSni,
  8. Input<int?>? failureThreshold,
  9. Input<String?>? fqdn,
  10. Input<String?>? insufficientDataHealthStatus,
  11. Input<bool?>? invertHealthcheck,
  12. Input<String?>? ipAddress,
  13. Input<bool?>? measureLatency,
  14. Input<int?>? port,
  15. Input<String?>? referenceName,
  16. Input<List<String>?>? regions,
  17. Input<int?>? requestInterval,
  18. Input<String?>? resourcePath,
  19. Input<String?>? routingControlArn,
  20. Input<String?>? searchString,
  21. Input<Map<String, String>?>? tags,
  22. Input<Map<String, String>?>? tagsAll,
  23. Input<Map<String, String>?>? triggers,
  24. Input<String?>? type,
})

Creates a new HealthCheckState. arn ARN of the Health Check. 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 childHealthchecks For a specified parent health check, a list of HealthCheckId values for the associated child health checks. cloudwatchAlarmName The name of the CloudWatch alarm. cloudwatchAlarmRegion The region that the CloudWatch alarm was created in. 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: 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. failureThreshold The number of consecutive health checks that an endpoint must pass or fail. 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. 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. 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. ipAddress The IP address of the endpoint to be checked. 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. port The port of the endpoint to be checked. referenceName This is a reference name used in Caller Reference 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. 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. resourcePath The path that you want Amazon Route 53 to request when performing health checks. routingControlArn ARN for the Route 53 Application Recovery Controller routing control. This is used when health check type is RECOVERY_CONTROL 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. 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. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. 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. 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.

Implementation

const HealthCheckState({
  this.arn,
  this.childHealthThreshold,
  this.childHealthchecks,
  this.cloudwatchAlarmName,
  this.cloudwatchAlarmRegion,
  this.disabled,
  this.enableSni,
  this.failureThreshold,
  this.fqdn,
  this.insufficientDataHealthStatus,
  this.invertHealthcheck,
  this.ipAddress,
  this.measureLatency,
  this.port,
  this.referenceName,
  this.regions,
  this.requestInterval,
  this.resourcePath,
  this.routingControlArn,
  this.searchString,
  this.tags,
  this.tagsAll,
  this.triggers,
  this.type,
});