libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.Types.ProcessorFeature

Description

 
Synopsis

Documentation

data ProcessorFeature Source #

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

If you call DescribeDBInstances, ProcessorFeature returns non-null values only if the following conditions are met:

  • You are accessing an Oracle DB instance.
  • Your Oracle DB instance class supports configuring the number of CPU cores and threads per core.
  • The current number CPU cores and threads is set to a non-default value.

For more information, see Configuring the Processor of the DB Instance Class in the Amazon RDS User Guide.

See: newProcessorFeature smart constructor.

Constructors

ProcessorFeature' 

Fields

  • value :: Maybe Text

    The value of a processor feature name.

  • name :: Maybe Text

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

Instances

Instances details
Eq ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

Read ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

Show ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

Generic ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

Associated Types

type Rep ProcessorFeature :: Type -> Type #

NFData ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

Methods

rnf :: ProcessorFeature -> () #

Hashable ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

ToQuery ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

FromXML ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

type Rep ProcessorFeature Source # 
Instance details

Defined in Amazonka.RDS.Types.ProcessorFeature

type Rep ProcessorFeature = D1 ('MetaData "ProcessorFeature" "Amazonka.RDS.Types.ProcessorFeature" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "ProcessorFeature'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newProcessorFeature :: ProcessorFeature Source #

Create a value of ProcessorFeature with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:value:ProcessorFeature', processorFeature_value - The value of a processor feature name.

$sel:name:ProcessorFeature', processorFeature_name - The name of the processor feature. Valid names are coreCount and threadsPerCore.

processorFeature_value :: Lens' ProcessorFeature (Maybe Text) Source #

The value of a processor feature name.

processorFeature_name :: Lens' ProcessorFeature (Maybe Text) Source #

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