awsclient

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAWSConfig

func LoadAWSConfig(region string) (aws.Config, error)

LoadAWSConfig initializes and returns an AWS SDK configuration.

func NewS3Client

func NewS3Client(cfg aws.Config) *s3.Client

Initialize S3 Client

func NewS3ClientWithEndpoint

func NewS3ClientWithEndpoint(cfg aws.Config, endpoint string, forcePathStyle bool) *s3.Client

Initialize S3 Client with optional endpoint override.

func NewSESClient

func NewSESClient(cfg aws.Config) *sesv2.Client

NewSESClient initializes the AWS SES client.

func NewSTSClient

func NewSTSClient(cfg aws.Config) *sts.Client

NewSTSClient initializes the AWS STS client.

func NewSecretsManagerClient

func NewSecretsManagerClient(cfg aws.Config) *secretsmanager.Client

NewSecretsManagerClient initializes the AWS Secrets Manager client.

Types

type S3Credentials

type S3Credentials struct {
	AccessKeyId     string `json:"accessKeyId"`
	SecretAccessKey string `json:"secretAccessKey"`
	SessionToken    string `json:"sessionToken"`
	Expiration      string `json:"expiration"`
}

S3Credentials represents temporary or static credentials for S3 access.

Jump to

Keyboard shortcuts

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