aws

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetARecordFromLive

func GetARecordFromLive(host string) []string

func IsStringSliceEqual

func IsStringSliceEqual(a, b []string) bool

func ListAllRegions added in v1.1.0

func ListAllRegions(sess *session.Session) ([]string, error)

func NewIAMClient

func NewIAMClient() (*iamObj, error)

func NewS3Client

func NewS3Client(region string) (*s3Obj, error)

func NewSessionWithStaticCreds added in v1.1.0

func NewSessionWithStaticCreds(accessKey string, secretKey string) (*session.Session, error)

Types

type AvailabilityZone added in v1.1.0

type AvailabilityZone struct {
	Name   string
	ZoneId string
}

func ListAllAvailabilityZones added in v1.1.0

func ListAllAvailabilityZones(sess *session.Session) ([]AvailabilityZone, error)

only for region defined in AWS Session

type PolicyStatement

type PolicyStatement map[string]any

type Route53

type Route53 interface {
	UpdateRecord(site string, aRecords []string, hostedZone string) error

	DeleteRecord(site string, hostedZone *string, zoneId *string) error
	// contains filtered or unexported methods
}

func NewAwsRoute53Client

func NewAwsRoute53Client(accessKey, accessSec string) (Route53, error)

type User

type User struct {
	Name string
	ARN  string
}

Jump to

Keyboard shortcuts

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