aws

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(configVarResolver *providerconfig.ConfigVarResolver) cloud.Provider

New returns a aws provider

Types

type Config added in v0.0.2

type Config struct {
	AccessKeyID     string
	SecretAccessKey string

	Region           string
	AvailabilityZone string

	VpcID            string
	SubnetID         string
	SecurityGroupIDs []string
	InstanceProfile  string

	InstanceType string
	AMI          string
	DiskSize     int64
	DiskType     string
	Tags         map[string]string
}

type RawConfig added in v0.2.0

type RawConfig struct {
	AccessKeyID     providerconfig.ConfigVarString `json:"accessKeyId"`
	SecretAccessKey providerconfig.ConfigVarString `json:"secretAccessKey"`

	Region           providerconfig.ConfigVarString `json:"region"`
	AvailabilityZone providerconfig.ConfigVarString `json:"availabilityZone"`

	VpcID            providerconfig.ConfigVarString   `json:"vpcId"`
	SubnetID         providerconfig.ConfigVarString   `json:"subnetId"`
	SecurityGroupIDs []providerconfig.ConfigVarString `json:"securityGroupIDs"`
	InstanceProfile  providerconfig.ConfigVarString   `json:"instanceProfile"`

	InstanceType providerconfig.ConfigVarString `json:"instanceType"`
	AMI          providerconfig.ConfigVarString `json:"ami"`
	DiskSize     int64                          `json:"diskSize"`
	DiskType     providerconfig.ConfigVarString `json:"diskType"`
	Tags         map[string]string              `json:"tags"`
}

Jump to

Keyboard shortcuts

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