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.

LaunchTemplatesMonitoring

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

type LaunchTemplatesMonitoring struct { Enabled *bool `locationName:"enabled" type:"boolean"` }

Describes the monitoring for the instance.

Enabled

Type: *bool

Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

Method

GoString

func (s LaunchTemplatesMonitoring) GoString() string

GoString returns the string representation

SetEnabled

func (s *LaunchTemplatesMonitoring) SetEnabled(v bool) *LaunchTemplatesMonitoring

SetEnabled sets the Enabled field's value.

String

func (s LaunchTemplatesMonitoring) String() string

String returns the string representation

LaunchTemplatesMonitoringRequest

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

type LaunchTemplatesMonitoringRequest struct { Enabled *bool `type:"boolean"` }

Describes the monitoring for the instance.

Enabled

Type: *bool

Specify true to enable detailed monitoring. Otherwise, basic monitoring is enabled.

Method

GoString

func (s LaunchTemplatesMonitoringRequest) GoString() string

GoString returns the string representation

SetEnabled

func (s *LaunchTemplatesMonitoringRequest) SetEnabled(v bool) *LaunchTemplatesMonitoringRequest

SetEnabled sets the Enabled field's value.

String

func (s LaunchTemplatesMonitoringRequest) String() string

String returns the string representation