| 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.Lambda.Types.SnapStart
Description
Synopsis
Documentation
The function's SnapStart setting. Set ApplyOn to PublishedVersions
to create a snapshot of the initialized execution environment when you
publish a function version. For more information, see
Reducing startup time with Lambda SnapStart.
See: newSnapStart smart constructor.
Constructors
| SnapStart' | |
Fields
| |
Instances
| ToJSON SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
| Generic SnapStart Source # | |
| Read SnapStart Source # | |
| Show SnapStart Source # | |
| NFData SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
| Eq SnapStart Source # | |
| Hashable SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart | |
| type Rep SnapStart Source # | |
Defined in Amazonka.Lambda.Types.SnapStart type Rep SnapStart = D1 ('MetaData "SnapStart" "Amazonka.Lambda.Types.SnapStart" "amazonka-lambda-2.0-FcjxCCKaCGK94C2lDO9alC" 'False) (C1 ('MetaCons "SnapStart'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applyOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnapStartApplyOn)))) | |
newSnapStart :: SnapStart Source #
Create a value of SnapStart 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:applyOn:SnapStart', snapStart_applyOn - Set to PublishedVersions to create a snapshot of the initialized
execution environment when you publish a function version.
snapStart_applyOn :: Lens' SnapStart (Maybe SnapStartApplyOn) Source #
Set to PublishedVersions to create a snapshot of the initialized
execution environment when you publish a function version.