![]() |
![]()
| ![]() |
![]()
NAMEPaws::ServiceDiscovery::HealthCheckConfig USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::ServiceDiscovery::HealthCheckConfig object: $service_obj->Method(Att1 => { FailureThreshold => $value, ..., Type => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::ServiceDiscovery::HealthCheckConfig object: $result = $service_obj->Method(...); $result->Att1->FailureThreshold DESCRIPTIONPublic DNS and HTTP namespaces only. A complex type that contains settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in "DnsConfig". If you specify a health check configuration, you can specify either "HealthCheckCustomConfig" or "HealthCheckConfig" but not both. Health checks are basic Route 53 health checks that monitor an Amazon Web Services endpoint. For information about pricing for health checks, see Amazon Route 53 Pricing (http://aws.amazon.com/route53/pricing/). Note the following about configuring health checks.
ATTRIBUTESFailureThreshold => IntThe number of consecutive health checks that an endpoint must pass or fail for Route 53 to change the current status of the endpoint from unhealthy to healthy or the other way around. For more information, see How Route 53 Determines Whether an Endpoint Is Healthy (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) in the Route 53 Developer Guide. ResourcePath => StrThe path that you want Route 53 to request when performing health checks. The path can be any value that your endpoint returns an HTTP status code of a 2xx or 3xx format for when the endpoint is healthy. An example file is "/docs/route53-health-check.html". Route 53 automatically adds the DNS name for the service. If you don't specify a value for "ResourcePath", the default value is "/". If you specify "TCP" for "Type", you must not specify a value for "ResourcePath". REQUIRED Type => StrThe type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. You can't change the value of "Type" after you create a health check. You can create the following types of health checks:
For more information, see How Route 53 Determines Whether an Endpoint Is Healthy (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html) in the Route 53 Developer Guide. SEE ALSOThis class forms part of Paws, describing an object used in Paws::ServiceDiscovery BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|