lambda

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lambda

type Lambda struct {
	AccessKey       string
	SecretAccessKey string
	Token           string
}

Lambda represents a lambda function and the environment variables where the AWS credentials are located

func New

func New() Lambda

func (Lambda) GetCredential

func (r Lambda) GetCredential() (aws.Credential, error)

GetCredential get the IAM credentials from the lambda environment variables

func (Lambda) Name

func (r Lambda) Name() string

Name of the AWS resource

Jump to

Keyboard shortcuts

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