Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data KeyUsage = KeyUsage' {}
- newKeyUsage :: KeyUsage
- keyUsage_name :: Lens' KeyUsage (Maybe KeyUsageName)
Documentation
The Key Usage X.509 v3 extension defines the purpose of the public key contained in the certificate.
See: newKeyUsage
smart constructor.
KeyUsage' | |
|
Instances
Eq KeyUsage Source # | |
Read KeyUsage Source # | |
Show KeyUsage Source # | |
Generic KeyUsage Source # | |
NFData KeyUsage Source # | |
Defined in Amazonka.CertificateManager.Types.KeyUsage | |
Hashable KeyUsage Source # | |
Defined in Amazonka.CertificateManager.Types.KeyUsage | |
FromJSON KeyUsage Source # | |
type Rep KeyUsage Source # | |
Defined in Amazonka.CertificateManager.Types.KeyUsage type Rep KeyUsage = D1 ('MetaData "KeyUsage" "Amazonka.CertificateManager.Types.KeyUsage" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "KeyUsage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyUsageName)))) |
newKeyUsage :: KeyUsage Source #
Create a value of KeyUsage
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:name:KeyUsage'
, keyUsage_name
- A string value that contains a Key Usage extension name.
keyUsage_name :: Lens' KeyUsage (Maybe KeyUsageName) Source #
A string value that contains a Key Usage extension name.