| 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.Batch.Types.EksSecret
Description
Synopsis
- data EksSecret = EksSecret' {
- optional :: Maybe Bool
- secretName :: Text
- newEksSecret :: Text -> EksSecret
- eksSecret_optional :: Lens' EksSecret (Maybe Bool)
- eksSecret_secretName :: Lens' EksSecret Text
Documentation
Specifies the configuration of a Kubernetes secret volume. For more
information, see
secret in
the Kubernetes documentation.
See: newEksSecret smart constructor.
Constructors
| EksSecret' | |
Fields
| |
Instances
| FromJSON EksSecret Source # | |
| ToJSON EksSecret Source # | |
Defined in Amazonka.Batch.Types.EksSecret | |
| Generic EksSecret Source # | |
| Read EksSecret Source # | |
| Show EksSecret Source # | |
| NFData EksSecret Source # | |
Defined in Amazonka.Batch.Types.EksSecret | |
| Eq EksSecret Source # | |
| Hashable EksSecret Source # | |
Defined in Amazonka.Batch.Types.EksSecret | |
| type Rep EksSecret Source # | |
Defined in Amazonka.Batch.Types.EksSecret type Rep EksSecret = D1 ('MetaData "EksSecret" "Amazonka.Batch.Types.EksSecret" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "EksSecret'" 'PrefixI 'True) (S1 ('MetaSel ('Just "optional") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "secretName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of EksSecret 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:optional:EksSecret', eksSecret_optional - Specifies whether the secret or the secret's keys must be defined.
$sel:secretName:EksSecret', eksSecret_secretName - The name of the secret. The name must be allowed as a DNS subdomain
name. For more information, see
DNS subdomain names
in the Kubernetes documentation.
eksSecret_optional :: Lens' EksSecret (Maybe Bool) Source #
Specifies whether the secret or the secret's keys must be defined.
eksSecret_secretName :: Lens' EksSecret Text Source #
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.