forked from aws/aws-lambda-runtime-interface-emulator
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsandbox_model.go
More file actions
22 lines (20 loc) · 805 Bytes
/
sandbox_model.go
File metadata and controls
22 lines (20 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package interop
// Init represents an init message and is currently only used in standalone
type Init struct {
InvokeID string
Handler string
AwsKey string
AwsSecret string
AwsSession string
SuppressInit bool
XRayDaemonAddress string // only in standalone
FunctionName string // only in standalone
FunctionVersion string // only in standalone
CorrelationID string // internal use only
// TODO: define new Init type that has the Start fields as well as env vars below.
// In standalone mode, these env vars come from test/init but from environment otherwise.
CustomerEnvironmentVariables map[string]string
SandboxType
}