amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.HostProperties

Description

 
Synopsis

Documentation

data HostProperties Source #

Describes the properties of a Dedicated Host.

See: newHostProperties smart constructor.

Constructors

HostProperties' 

Fields

  • cores :: Maybe Int

    The number of cores on the Dedicated Host.

  • instanceFamily :: Maybe Text

    The instance family supported by the Dedicated Host. For example, m5.

  • instanceType :: Maybe Text

    The instance type supported by the Dedicated Host. For example, m5.large. If the host supports multiple instance types, no instanceType is returned.

  • sockets :: Maybe Int

    The number of sockets on the Dedicated Host.

  • totalVCpus :: Maybe Int

    The total number of vCPUs on the Dedicated Host.

Instances

Instances details
FromXML HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

Generic HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

Associated Types

type Rep HostProperties :: Type -> Type #

Read HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

Show HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

NFData HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

Methods

rnf :: HostProperties -> () #

Eq HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

Hashable HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

type Rep HostProperties Source # 
Instance details

Defined in Amazonka.EC2.Types.HostProperties

type Rep HostProperties = D1 ('MetaData "HostProperties" "Amazonka.EC2.Types.HostProperties" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "HostProperties'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "instanceFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sockets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "totalVCpus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newHostProperties :: HostProperties Source #

Create a value of HostProperties 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:cores:HostProperties', hostProperties_cores - The number of cores on the Dedicated Host.

$sel:instanceFamily:HostProperties', hostProperties_instanceFamily - The instance family supported by the Dedicated Host. For example, m5.

$sel:instanceType:HostProperties', hostProperties_instanceType - The instance type supported by the Dedicated Host. For example, m5.large. If the host supports multiple instance types, no instanceType is returned.

$sel:sockets:HostProperties', hostProperties_sockets - The number of sockets on the Dedicated Host.

$sel:totalVCpus:HostProperties', hostProperties_totalVCpus - The total number of vCPUs on the Dedicated Host.

hostProperties_cores :: Lens' HostProperties (Maybe Int) Source #

The number of cores on the Dedicated Host.

hostProperties_instanceFamily :: Lens' HostProperties (Maybe Text) Source #

The instance family supported by the Dedicated Host. For example, m5.

hostProperties_instanceType :: Lens' HostProperties (Maybe Text) Source #

The instance type supported by the Dedicated Host. For example, m5.large. If the host supports multiple instance types, no instanceType is returned.

hostProperties_sockets :: Lens' HostProperties (Maybe Int) Source #

The number of sockets on the Dedicated Host.

hostProperties_totalVCpus :: Lens' HostProperties (Maybe Int) Source #

The total number of vCPUs on the Dedicated Host.