awssdk

package
v2.0.0-beta.5+incompat... Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyRegion  = errors.New("empty region")
	ErrInvalidCreds = errors.New("keyID or secret is not provided")
)

Functions

This section is empty.

Types

type SDK

type SDK struct {
	EC2 *ec2.EC2
}

SDK is a wrapper around aws client library handling concerns like authentication currently it only supports accessKey/secret auth method, in the future it may support MFA

func New

func New(region string, keyID, secret, token string) (*SDK, error)

New creates SDK using keyID/secret and optionally token if temporary credentials auth method is used

Jump to

Keyboard shortcuts

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