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.

ProcessorFeature

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

type ProcessorFeature struct { Name *string `type:"string"` Value *string `type:"string"` }

Contains the processor features of a DB instance class.

To specify the number of CPU cores, use the coreCount feature name for the Name parameter. To specify the number of threads per core, use the threadsPerCore feature name for the Name parameter.

You can set the processor features of the DB instance class for a DB instance when you call one of the following actions:

  • CreateDBInstance

  • ModifyDBInstance

  • RestoreDBInstanceFromDBSnapshot

  • RestoreDBInstanceFromS3

  • RestoreDBInstanceToPointInTime

You can view the valid processor values for a particular instance class by calling the DescribeOrderableDBInstanceOptions action and specifying the instance class for the DBInstanceClass parameter.

In addition, you can use the following actions for DB instance class processor information:

  • DescribeDBInstances

  • DescribeDBSnapshots

  • DescribeValidDBInstanceModifications

For more information, see Configuring the Processor of the DB Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) in the Amazon RDS User Guide.

Name

Type: *string

The name of the processor feature. Valid names are coreCount and threadsPerCore.

Value

Type: *string

The value of a processor feature name.

Method

GoString

func (s ProcessorFeature) GoString() string

GoString returns the string representation

SetName

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

SetName sets the Name field's value.

SetValue

func (s *ProcessorFeature) SetValue(v string) *ProcessorFeature

SetValue sets the Value field's value.

String

func (s ProcessorFeature) String() string

String returns the string representation

On this page: