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: 0

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