Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (30 sloc) 690 Bytes
package route53
import (
awsroute53 ""
type HealthCheck struct {
client healthChecksClient
id *string
identifier string
func NewHealthCheck(client healthChecksClient, id *string) HealthCheck {
return HealthCheck{
client: client,
id: id,
identifier: *id,
func (h HealthCheck) Delete() error {
_, err := h.client.DeleteHealthCheck(&awsroute53.DeleteHealthCheckInput{HealthCheckId:})
if err != nil {
return fmt.Errorf("Delete: %s", err)
return nil
func (h HealthCheck) Name() string {
return h.identifier
func (h HealthCheck) Type() string {
return "Route53 Health Check"
You can’t perform that action at this time.