| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CertificateManager.Types.KeyUsage
Description
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.
Constructors
| KeyUsage' | |
Fields
| |
Instances
| FromJSON KeyUsage Source # | |
| Generic KeyUsage Source # | |
| Read KeyUsage Source # | |
| Show KeyUsage Source # | |
| NFData KeyUsage Source # | |
Defined in Amazonka.CertificateManager.Types.KeyUsage | |
| Eq KeyUsage Source # | |
| Hashable KeyUsage Source # | |
Defined in Amazonka.CertificateManager.Types.KeyUsage | |
| type Rep KeyUsage Source # | |
Defined in Amazonka.CertificateManager.Types.KeyUsage type Rep KeyUsage = D1 ('MetaData "KeyUsage" "Amazonka.CertificateManager.Types.KeyUsage" "amazonka-certificatemanager-2.0-CRaDh4gXGsJGb4mnkgvuBR" '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.