Documentation
¶
Overview ¶
Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidRuntimes = Runtimes{
"nodejs",
"nodejs4.3",
"nodejs6.10",
"nodejs8.10",
"nodejs10.x",
"java8",
"python2.7",
"python3.6",
"python3.7",
"dotnetcore1.0",
"dotnetcore2.0",
"dotnetcore2.1",
"nodejs4.3-edge",
"go1.x",
"ruby2.5",
"provided",
}
a list of aws supported runtimes as of 26/01/2019
Functions ¶
This section is empty.
Types ¶
type CmdOptions ¶
type CmdOptions struct {
Image string // Name of the container image
ImageType string // Type of the container image
Region string // AWS region
Profile string // AWS credentials profile
OutputDir string // Output directory for the Lambda layers
DryRun bool // Dry-run (will not register with Lambda)
LayerNamespace string // Prefix for published Lambda layers
Description string // Description of the current layer version
LicenseInfo string // Layer's software license
CompatibleRuntimes []string // A list of function runtimes compatible with the current layer
}
type LambdaDeploymentPackage ¶
type LambdaLayer ¶
type PublishOptions ¶
type PublishOptions struct {
LambdaClient lambdaiface.LambdaAPI
LayerPrefix string
ResultsDir string
SourceImageName string
Description string
LicenseInfo string
CompatibleRuntimes []string
}
func ConvertToPublishOptions ¶
func ConvertToPublishOptions(opts *CmdOptions) *PublishOptions
Click to show internal directories.
Click to hide internal directories.