aws

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewS3Client

func NewS3Client(ctx context.Context, o NewS3ClientOptions) (*s3.Client, error)

NewS3Client returns a new S3 client.

Types

type AssumeRole

type AssumeRole struct {
	RoleARN    string
	ExternalID string
}

AssumeRole is the options for AssumeRole.

type NewS3ClientOptions

type NewS3ClientOptions struct {
	EndpointURL string
	Region      string

	UseAnonymousCredentials bool

	AssumeRole *AssumeRole
}

NewS3ClientOptions is the options for NewS3Client.

Jump to

Keyboard shortcuts

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