util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAWSConfig

func LoadAWSConfig(optFns ...func(*AWSConfigOptions) error) (aws.Config, error)

Load AWS configuration

Types

type AWSConfigOptions

type AWSConfigOptions struct {
	Region string
}

AWSConfigOptions are discrete set of options that are valid for loading the configuration that is supported Axolgo

type AWSConfigOptionsFunc

type AWSConfigOptionsFunc func(*AWSConfigOptions) error

AWSConfigOptionsFunc is a type alias for AWSConfigOptions functional option

func WithRegion

func WithRegion(v string) AWSConfigOptionsFunc

WithRegion is a helper function to construct functional options that sets Region on config's AWSConfigOptions. If multiple WithRegion calls are made, the last call overrides the previous call values.

Jump to

Keyboard shortcuts

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