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.

DescribeTerminationPolicyTypesOutput

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

type DescribeTerminationPolicyTypesOutput struct { TerminationPolicyTypes []*string `type:"list"` }

TerminationPolicyTypes

Type: []*string

The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy. Currently, the OldestLaunchTemplate and AllocationStrategy policies are only supported for Auto Scaling groups with MixedInstancesPolicy.

Method

GoString

func (s DescribeTerminationPolicyTypesOutput) GoString() string

GoString returns the string representation

SetTerminationPolicyTypes

func (s *DescribeTerminationPolicyTypesOutput) SetTerminationPolicyTypes(v []*string) *DescribeTerminationPolicyTypesOutput

SetTerminationPolicyTypes sets the TerminationPolicyTypes field's value.

String

func (s DescribeTerminationPolicyTypesOutput) String() string

String returns the string representation

On this page: