aws

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSession

func NewSession(config *Config) (*session.Session, error)

Types

type API

type API struct {
	IAM iamiface.IAMAPI
	SSM ssmiface.SSMAPI
	STS stsiface.STSAPI
}

func NewAPI

func NewAPI(sess *session.Session, config *Config) *API

type Config

type Config struct {
	RoleARN    string  `yaml:"roleARN"`
	Endpoint   *string `yaml:"endpoint"`
	Region     *string `yaml:"region"`
	DisableSSL *bool   `yaml:"disableSSL"`
	MaxRetries *int    `yaml:"maxRetries"`
}

func MergeConfigs

func MergeConfigs(c1, c2 *Config) (c *Config)

func (*Config) ToAWSClientConfig

func (c *Config) ToAWSClientConfig() *aws.Config

Jump to

Keyboard shortcuts

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