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.

Alarm

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

type Alarm struct { AlarmARN *string `type:"string" required:"true"` AlarmName *string `type:"string" required:"true"` }

Represents a CloudWatch alarm associated with a scaling policy.

AlarmARN

Type: *string

The Amazon Resource Name (ARN) of the alarm.

AlarmARN is a required field

AlarmName

Type: *string

The name of the alarm.

AlarmName is a required field

Method

GoString

func (s Alarm) GoString() string

GoString returns the string representation

SetAlarmARN

func (s *Alarm) SetAlarmARN(v string) *Alarm

SetAlarmARN sets the AlarmARN field's value.

SetAlarmName

func (s *Alarm) SetAlarmName(v string) *Alarm

SetAlarmName sets the AlarmName field's value.

String

func (s Alarm) String() string

String returns the string representation

On this page: