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.

AutoScalingSettingsUpdate

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

type AutoScalingSettingsUpdate struct { AutoScalingDisabled *bool `type:"boolean"` AutoScalingRoleArn *string `min:"1" type:"string"` MaximumUnits *int64 `min:"1" type:"long"` MinimumUnits *int64 `min:"1" type:"long"` ScalingPolicyUpdate *AutoScalingPolicyUpdate `type:"structure"` }

Represents the autoscaling settings to be modified for a global table or global secondary index.

AutoScalingDisabled

Type: *bool

Disabled autoscaling for this global table or global secondary index.

AutoScalingRoleArn

Type: *string

Role ARN used for configuring autoscaling policy.

MaximumUnits

Type: *int64

The maximum capacity units that a global table or global secondary index should be scaled up to.

MinimumUnits

Type: *int64

The minimum capacity units that a global table or global secondary index should be scaled down to.

ScalingPolicyUpdate

Represents the autoscaling policy to be modified.

Method

GoString

func (s AutoScalingSettingsUpdate) GoString() string

GoString returns the string representation

SetAutoScalingDisabled

func (s *AutoScalingSettingsUpdate) SetAutoScalingDisabled(v bool) *AutoScalingSettingsUpdate

SetAutoScalingDisabled sets the AutoScalingDisabled field's value.

SetAutoScalingRoleArn

func (s *AutoScalingSettingsUpdate) SetAutoScalingRoleArn(v string) *AutoScalingSettingsUpdate

SetAutoScalingRoleArn sets the AutoScalingRoleArn field's value.

SetMaximumUnits

func (s *AutoScalingSettingsUpdate) SetMaximumUnits(v int64) *AutoScalingSettingsUpdate

SetMaximumUnits sets the MaximumUnits field's value.

SetMinimumUnits

func (s *AutoScalingSettingsUpdate) SetMinimumUnits(v int64) *AutoScalingSettingsUpdate

SetMinimumUnits sets the MinimumUnits field's value.

SetScalingPolicyUpdate

func (s *AutoScalingSettingsUpdate) SetScalingPolicyUpdate(v *AutoScalingPolicyUpdate) *AutoScalingSettingsUpdate

SetScalingPolicyUpdate sets the ScalingPolicyUpdate field's value.

String

func (s AutoScalingSettingsUpdate) String() string

String returns the string representation

Validate

func (s *AutoScalingSettingsUpdate) Validate() error

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

On this page: