aws

package
v0.0.0-...-78c8ff7 Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlreadyAssociated        = "Resource.AlreadyAssociated"
	InvalidSubnetConflict    = "InvalidSubnet.Conflict"
	KeyPairDuplicate         = "InvalidKeyPair.Duplicate"
	SecurityGroupDuplicate   = "InvalidGroup.Duplicate"
	ELBAlreadyExists         = "DuplicateLoadBalancerName"
	ELBConfigurationMismatch = "already exists and it is configured with different parameters"
)

Variables

This section is empty.

Functions

func IsEmptyAmazonAccountID

func IsEmptyAmazonAccountID(err error) bool

IsEmptyAmazonAccountID asserts emptyAmazonAccountIDError.

func IsMalformedAmazonAccountID

func IsMalformedAmazonAccountID(err error) bool

IsMalformedAmazonAccountID asserts malformedAmazonAccountIDError.

func IsWrongAmazonAccountIDLength

func IsWrongAmazonAccountIDLength(err error) bool

IsWrongAmazonIDLength asserts wrongAmazonAccountIDLengthError.

Types

type Clients

type Clients struct {
	EC2     *ec2.EC2
	IAM     *iam.IAM
	S3      *s3.S3
	KMS     *kms.KMS
	ELB     *elb.ELB
	Route53 *route53.Route53
}

func NewClients

func NewClients(config Config) Clients

type Config

type Config struct {
	AccessKeyID     string
	AccessKeySecret string
	Region          string
	// contains filtered or unexported fields
}

func (*Config) AccountID

func (c *Config) AccountID() string

func (*Config) SetAccountID

func (c *Config) SetAccountID(iamClient *iam.IAM) error

Jump to

Keyboard shortcuts

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