Documentation ¶
Overview ¶
Stores information about the runtimes that are deprecated in AWS Lambda, as per https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeprecationData ¶ added in v0.3.0
func DeprecationData() map[types.Runtime]DeprecationInformation
DeprecationData returns the deprecation data as this package understands. This does NOT currently clone the map, please don't be evil!
Types ¶
type DeprecationInformation ¶
type DeprecationInformation struct { // Deprecation marks the "Phase 1" deprecations as noted in https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html: // > Phase 1 - Lambda no longer applies security patches or other updates to // > the runtime. You can no longer **create** functions that use the runtime, but // > you can continue to update existing functions. This includes updating the // > runtime version, and rolling back to the previous runtime version. Note // > that functions that use a deprecated runtime are no longer eligible for // > technical support Deprecation *time.Time // EndOfLife marks the "Phase 2" deprecations as noted in https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html // > Phase 2 - you can no longer **create or update** functions that use the // > runtime. To update a function, you need to migrate it to a supported // > runtime version. After you migrate the function to a supported runtime // > version, you cannot rollback the function to the previous runtime. Phase 2 // > starts at least 30 days after the start of Phase 1 EndOfLife *time.Time }
func IsDeprecated ¶
func IsDeprecated(runtime types.Runtime) (DeprecationInformation, bool)
Click to show internal directories.
Click to hide internal directories.