console

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultRegion defines the default AWS region to be used: "eu-west-1".
	DefaultRegion = "eu-west-1"
)

Variables

This section is empty.

Functions

func GetAWSConfig

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

GetAWSConfig loads AWS SDK config with the given or default region, returning the config, region, and any error.

func GetSignInURL

func GetSignInURL(ctx context.Context, sess aws.Config, region, policyARN string) (string, error)

GetSignInURL generates a sign-in URL for the AWS Management Console using temporary credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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