config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultUserAgent = "cfni"
)

Variables

This section is empty.

Functions

func CreateStdinTokenProvider

func CreateStdinTokenProvider(account string) func() (string, error)

Types

type Config

type Config struct {
	// The Amazon Web Services account ID number of the account that owns or contains the calling entity
	Account string

	// ARN associated with the calling entity
	CallerIdentityARN string

	// The unique identifier of the calling entity
	UserID string

	// The SharedConfigProfile that is used
	Profile string

	// The region to send requests to.
	Region string

	// A Config provides service configuration for aws service clients
	AWSConfig aws.Config
}

func NewConfig

func NewConfig(account, profile, region, userAgent string) (*Config, error)

Jump to

Keyboard shortcuts

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