# Fastly::Services::Healthcheck Manage a Fastly service health check. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "Fastly::Services::Healthcheck",
    "Properties" : {
        "CheckInterval" : Integer,
        "Comment" : String,
        "ExpectedResponse" : Integer,
        "Host" : String,
        "HttpVersion" : String,
        "Initial" : Integer,
        "Method" : String,
        "Name" : String,
        "Path" : String,
        "Threshold" : Integer,
        "Timeout" : Integer,
        "Window" : Integer,
        "ServiceId" : String,
        "VersionId" : String,
        "HealthcheckName" : String,
    }
}
### YAML
Type: Fastly::Services::Healthcheck
Properties:
    CheckInterval: Integer
    Comment: String
    ExpectedResponse: Integer
    Host: String
    HttpVersion: String
    Initial: Integer
    Method: String
    Name: String
    Path: String
    Threshold: Integer
    Timeout: Integer
    Window: Integer
    ServiceId: String
    VersionId: String
    HealthcheckName: String
## Properties #### CheckInterval How often to run the healthcheck in milliseconds. _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Comment A freeform descriptive note. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### ExpectedResponse The status code expected from the host. _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Host Which host to check. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### HttpVersion Whether to use version 1.0 or 1.1 HTTP. _Required_: No _Type_: String _Allowed Values_: 1.0 | 1.1 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Initial When loading a config, the initial number of probes to be seen as OK. _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Method Which HTTP method to use. _Required_: No _Type_: String _Allowed Values_: HEAD | GET | POST _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Name The name of the healthcheck. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Path The path to check. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Threshold How many healthchecks must succeed to be considered healthy. _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Timeout Timeout in milliseconds. _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Window The number of most recent healthcheck queries to keep for this healthcheck. _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### ServiceId Alphanumeric string identifying the service. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### VersionId Alphanumeric string identifying the service version. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### HealthcheckName The name of the healthcheck. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### Version Integer identifying a healthcheck version. Read-only. #### CreatedAt Date and time in ISO 8601 format. Read-only. #### UpdatedAt Date and time in ISO 8601 format. Read-only. #### DeletedAt Date and time in ISO 8601 format. Read-only.