config

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Region string
	// contains filtered or unexported fields
}

Config contains the AWS settings we will use in our Service Clients. Internally, this contains a lot of functionality that we will likely not use (see github.com/aws/aws-sdk-go-v2/blob/v1.13.0/aws/config.go#L18), so we are only exporting the fields that may potentially be useful.

func NewDefaultConfig

func NewDefaultConfig(ctx context.Context) (*Config, error)

NewDefaultConfig returns an AWS Config configured using sane defaults and values gleaned from env vars and/or shared configs/creds (~/.aws)

Directories

Path Synopsis
iam

Jump to

Keyboard shortcuts

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