aws

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 6 Imported by: 0

README

Sphire Mantis::AWS

The AWS package of Mantis provides a wrapper around instantiators for AWS operability

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	// contains filtered or unexported fields
}

AWS primary struct with context and aws.config

func New

func New(ctx context.Context, region string) *AWS

New creates a new AWS config using the context and region specified

If you want an empty context, set ctx to context.TODO()
region should be an AWS region, like "us-west-2"

func (*AWS) NewDynamo

func (a *AWS) NewDynamo() *dynamodb.Client

NewDynamo creates and returns a new instance of dynamo db

func (*AWS) NewSecretsManager

func (a *AWS) NewSecretsManager(optFns ...func(*secretsmanager.Options)) *secretsmanager.Client

NewSecretsManager creates and returns a new instance of dynamo db

Jump to

Keyboard shortcuts

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