github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/docs/providers/aws/r/route53_health_check.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_route53_health_check"
     4  sidebar_current: "docs-aws-resource-route53-health-check"
     5  description: |-
     6    Provides a Route53 health check.
     7  ---
     8  # aws\_route53\_health\_check
     9  
    10  Provides a Route53 health check.
    11  
    12  ## Example Usage
    13  
    14  ```
    15  resource "aws_route53_health_check" "foo" {
    16    fqdn = "foobar.terraform.com"
    17    port = 80
    18    type = "HTTP"
    19    resource_path = "/"
    20    failure_threshold = "5"
    21    request_interval = "30"
    22  
    23    tags = {
    24      Name = "tf-test-health-check"
    25     }
    26  }
    27  ```
    28  
    29  ## Argument Reference
    30  
    31  The following arguments are supported:
    32  
    33  * `fqdn` - (Optional) The fully qualified domain name of the endpoint to be checked.
    34  * `ip_address` - (Optional) The IP address of the endpoint to be checked.
    35  * `failure_threshold` - (Required) The number of consecutive health checks that an endpoint must pass or fai.
    36  * `request_interval` - (Required) 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.
    37  * `resource_path` - (Optional) The path that you want Amazon Route 53 to request when performing health checks.
    38  * `search_string` - (Optional) String searched in respoonse body for check to considered healthy.
    39  * `tags` - (Optional) A mapping of tags to assign to the health check.
    40  
    41  Exactly one of `fqdn` or `ip_address` must be specified.
    42