aws

package
v0.0.0-...-d804a60 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

func NewClients

func NewClients(config Config) (*Clients, error)

func (*Clients) EC2Client

func (c *Clients) EC2Client() ec2iface.EC2API

func (*Clients) STSClient

func (c *Clients) STSClient() stsiface.STSAPI

type Config

type Config struct {
	AccessKeyID     string
	AccessKeySecret string
	Region          string
	RoleARN         string
	SessionToken    string
}

type Interface

type Interface interface {
	EC2Client() ec2iface.EC2API
	STSClient() stsiface.STSAPI
}

Jump to

Keyboard shortcuts

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