clients

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package clients builds and caches connections to AWS and Panther services.

Index

Constants

View Source
const (
	UsersAPI = "panther-users-api"
)

Variables

This section is empty.

Functions

func AccountID

func AccountID() string

Returns the current AWS account ID - subsequent calls return the cached result.

func Cfn

func ECR

func ECR() *ecr.ECR

func Glue

func Glue() *glue.Glue

func HTTPGateway

func HTTPGateway() *http.Client

HTTP client which can sign requests to Panther's API gateways

func Lambda

func Lambda() *lambda.Lambda

func Region

func Region() string

Returns the current AWS region.

func S3

func S3() *s3.S3

func S3Uploader

func S3Uploader() *s3manager.Uploader

func SQS

func SQS() *sqs.SQS

func STS

func STS() *sts.STS

func SetRegion

func SetRegion(region string)

Rebuild sessions with a specific region, overriding the environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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