application

package
v2.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ApplicationRuntime = "go"
View Source
const ApplicationRuntimeVersion = "1.x"

Variables

View Source
var ApplicationClassName string
View Source
var ApplicationDomainName string
View Source
var ApplicationID string
View Source
var ApplicationInstanceID string
View Source
var ApplicationName string
View Source
var ApplicationStage string
View Source
var ApplicationTags map[string]interface{}
View Source
var ApplicationVersion string
View Source
var FunctionARN string
View Source
var FunctionName string
View Source
var FunctionRegion string
View Source
var LogGroupName string
View Source
var LogStreamName string
View Source
var MemoryLimit int
View Source
var MemoryUsed int

Functions

func GetApplicationID

func GetApplicationID(ctx context.Context) string

func GetAwsAccountNo

func GetAwsAccountNo(arn string) string

GetAwsAccountNo returns Aws Account Number if available.

func GetAwsRequestID

func GetAwsRequestID(ctx context.Context) string

GetAwsRequestID returns AwsRequestID if available.

func GetClientContext

func GetClientContext(ctx context.Context) (lambdacontext.ClientContext, bool)

GetClientContext returns ClientContext object from context if available.

func GetInvokedFunctionArn

func GetInvokedFunctionArn(ctx context.Context) string

GetInvokedFunctionArn returns InvokedFunctionArn if available.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL