awsconn

package
v0.11.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Description: This package is used to create a connection to AWS services.

Index

Constants

View Source
const (
	ProfileConfigKey      = "profile:config"
	ProfileCredentialsKey = "profile:credentials"
	ProfilePrefix         = "aws:"
	TempFilePattern       = "waveterm-awsconfig-%s"
)

Variables

This section is empty.

Functions

func GetConfig

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

func ListBuckets

func ListBuckets(ctx context.Context, client *s3.Client) ([]types.Bucket, error)

func ParseProfiles

func ParseProfiles() map[string]struct{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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