amazon

package
v1.3.349 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRegion = "us-west-2"

Variables

This section is empty.

Functions

func AvailabilityZones added in v1.3.85

func AvailabilityZones() ([]string, error)

func CreateS3Bucket added in v1.3.85

func CreateS3Bucket(bucketName string, profile string, region string) (string, error)

CreateS3Bucket creates a new S3 bucket in the default region with the given bucket name returning the location string

func GetAccountIDAndRegion

func GetAccountIDAndRegion(profile string, region string) (string, string, error)

GetAccountID returns the current account ID

func GetContainerRegistryHost

func GetContainerRegistryHost() (string, error)

GetContainerRegistryHost

func LazyCreateRegistry

func LazyCreateRegistry(orgName string, appName string) error

LazyCreateRegistry lazily creates the ECR registry if it does not already exist

func NewAwsSession

func NewAwsSession(profileOption string, regionOption string) (*session.Session, error)

func NewAwsSessionWithoutOptions added in v1.3.338

func NewAwsSessionWithoutOptions() (*session.Session, error)

func RegisterAwsCustomDomain added in v1.3.91

func RegisterAwsCustomDomain(customDomain string, elbAddress string) error

RegisterAwsCustomDomain registers a wildcard ALIAS for the custom domain to point at the given ELB host name

func ResolveRegion added in v1.3.314

func ResolveRegion(profileOption string, regionOption string) (string, error)

func ResolveRegionWithoutOptions added in v1.3.338

func ResolveRegionWithoutOptions() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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