config

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultUserAgent = "awsrecon"
)

Variables

View Source
var AWSRegions = []string{"us-east-1", "us-east-2", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-1", "ap-northeast-3", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-south-1", "eu-west-3", "eu-north-1", "me-south-1", "sa-east-1"}

AWSRegions from https://docs.aws.amazon.com/de_de/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions

Functions

This section is empty.

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 regions to send requests to.
	Regions []string

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

func NewConfig

func NewConfig(profile string, regions []string, userAgent string) (*Config, error)

Jump to

Keyboard shortcuts

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