libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm
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.OpsWorksCM.Types.AccountAttribute

Description

 
Synopsis

Documentation

data AccountAttribute Source #

Stores account attributes.

See: newAccountAttribute smart constructor.

Constructors

AccountAttribute' 

Fields

  • used :: Maybe Int

    The current usage, such as the current number of servers that are associated with the account.

  • maximum :: Maybe Int

    The maximum allowed value.

  • name :: Maybe Text

    The attribute name. The following are supported attribute names.

    • ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
    • ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.

Instances

Instances details
Eq AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

Read AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

Show AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

Generic AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

Associated Types

type Rep AccountAttribute :: Type -> Type #

NFData AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

Methods

rnf :: AccountAttribute -> () #

Hashable AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

FromJSON AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

type Rep AccountAttribute Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.AccountAttribute

type Rep AccountAttribute = D1 ('MetaData "AccountAttribute" "Amazonka.OpsWorksCM.Types.AccountAttribute" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "AccountAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "used") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "maximum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAccountAttribute :: AccountAttribute Source #

Create a value of AccountAttribute 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:used:AccountAttribute', accountAttribute_used - The current usage, such as the current number of servers that are associated with the account.

$sel:maximum:AccountAttribute', accountAttribute_maximum - The maximum allowed value.

$sel:name:AccountAttribute', accountAttribute_name - The attribute name. The following are supported attribute names.

  • ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
  • ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.

accountAttribute_used :: Lens' AccountAttribute (Maybe Int) Source #

The current usage, such as the current number of servers that are associated with the account.

accountAttribute_name :: Lens' AccountAttribute (Maybe Text) Source #

The attribute name. The following are supported attribute names.

  • ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.
  • ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum of 50 manual backups saved.