AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

HealthCheck

import "github.com/aws/aws-sdk-go/service/route53"

type HealthCheck struct { CallerReference *string `min:"1" type:"string" required:"true"` CloudWatchAlarmConfiguration *CloudWatchAlarmConfiguration `type:"structure"` HealthCheckConfig *HealthCheckConfig `type:"structure" required:"true"` HealthCheckVersion *int64 `min:"1" type:"long" required:"true"` Id *string `type:"string" required:"true"` LinkedService *LinkedService `type:"structure"` }

A complex type that contains information about one health check that is associated with the current AWS account.

CallerReference

Type: *string

A unique string that you specified when you created the health check.

CallerReference is a required field

CloudWatchAlarmConfiguration

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

HealthCheckConfig

A complex type that contains information about the health check.

HealthCheckVersion

Type: *int64

The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck to prevent overwriting another change to the health check.

HealthCheckVersion is a required field

Id

Type: *string

The identifier that Amazon Route 53assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

Id is a required field

LinkedService

If a health check or hosted zone was created by another service, LinkedService is a complex type that describes the service that created the resource. When a resource is created by another service, you can't edit or delete it using Amazon Route 53.

Method

GoString

func (s HealthCheck) GoString() string

GoString returns the string representation

SetCallerReference

func (s *HealthCheck) SetCallerReference(v string) *HealthCheck

SetCallerReference sets the CallerReference field's value.

SetCloudWatchAlarmConfiguration

func (s *HealthCheck) SetCloudWatchAlarmConfiguration(v *CloudWatchAlarmConfiguration) *HealthCheck

SetCloudWatchAlarmConfiguration sets the CloudWatchAlarmConfiguration field's value.

SetHealthCheckConfig

func (s *HealthCheck) SetHealthCheckConfig(v *HealthCheckConfig) *HealthCheck

SetHealthCheckConfig sets the HealthCheckConfig field's value.

SetHealthCheckVersion

func (s *HealthCheck) SetHealthCheckVersion(v int64) *HealthCheck

SetHealthCheckVersion sets the HealthCheckVersion field's value.

SetId

func (s *HealthCheck) SetId(v string) *HealthCheck

SetId sets the Id field's value.

SetLinkedService

func (s *HealthCheck) SetLinkedService(v *LinkedService) *HealthCheck

SetLinkedService sets the LinkedService field's value.

String

func (s HealthCheck) String() string

String returns the string representation

On this page: