api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRegion = "us-east-1"

Variables

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

Functions

func Contains

func Contains(s string, targets []string) bool

func DecodePolicyDocument

func DecodePolicyDocument(document string, unescape bool) (string, error)

func LoadConfig

func LoadConfig(ctx context.Context, region string, profile string) (*aws.Config, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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