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.

AlarmIdentifier

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

type AlarmIdentifier struct { Name *string `min:"1" type:"string" required:"true"` Region *string `min:"1" type:"string" required:"true" enum:"CloudWatchRegion"` }

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy.

Name

Type: *string

The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy.

Route 53 supports CloudWatch alarms with the following features:

Standard-resolution metrics. High-resolution metrics aren't supported. For more information, see High-Resolution Metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics) in the Amazon CloudWatch User Guide.

Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended statistics aren't supported.

Name is a required field

Region

Type: *string

For the CloudWatch alarm that you want Route 53 health checkers to use to determine whether this health check is healthy, the region that the alarm was created in.

For the current list of CloudWatch regions, see Amazon CloudWatch (https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region) in the AWS Regions and Endpoints chapter of the Amazon Web Services General Reference.

Region is a required field

Method

GoString

func (s AlarmIdentifier) GoString() string

GoString returns the string representation

SetName

func (s *AlarmIdentifier) SetName(v string) *AlarmIdentifier

SetName sets the Name field's value.

SetRegion

func (s *AlarmIdentifier) SetRegion(v string) *AlarmIdentifier

SetRegion sets the Region field's value.

String

func (s AlarmIdentifier) String() string

String returns the string representation

Validate

func (s *AlarmIdentifier) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: