This repository has been archived by the owner on Jul 12, 2018. It is now read-only.
/
aws.go
56 lines (43 loc) · 2.52 KB
/
aws.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package aws_cpi
/*
* File Generated by enaml generator
* !!! Please do not edit this file !!!
*/
type Aws struct {
/*DefaultKeyName - Descr: Default SSH keypair used for new VMs (required) Default: <nil>
*/
DefaultKeyName interface{} `yaml:"default_key_name,omitempty"`
/*AccessKeyId - Descr: AWS access_key_id for the aws cpi (Required when aws.credentials_source is set to `static`) Default: <nil>
*/
AccessKeyId interface{} `yaml:"access_key_id,omitempty"`
/*Ec2Endpoint - Descr: AWS EC2 service endpoint, without protocol/scheme (Optional: default endpoint will be constructed from region if not specified) Default: <nil>
*/
Ec2Endpoint interface{} `yaml:"ec2_endpoint,omitempty"`
/*CredentialsSource - Descr: Where to get AWS credentials for the aws cpi. This can be set to `static` to use an `access_key_id` and `secret_access_key` or `env_or_profile` to get the credentials from environment variables or an EC2 instance profile. Default: static
*/
CredentialsSource interface{} `yaml:"credentials_source,omitempty"`
/*DefaultSecurityGroups - Descr: Default security groups for new VMs (required) Default: <nil>
*/
DefaultSecurityGroups interface{} `yaml:"default_security_groups,omitempty"`
/*ConnectionOptions - Descr: All required custom CA certificates Default: <nil>
*/
ConnectionOptions *ConnectionOptions `yaml:"connection_options,omitempty"`
/*MaxRetries - Descr: The maximum number of times AWS service errors and throttling errors should be retried. There is an exponential backoff in between retries, so the more retries the longer it can take to fail. Default: 8
*/
MaxRetries interface{} `yaml:"max_retries,omitempty"`
/*Region - Descr: AWS region name (Required unless both ec2_endpoint and elb_endpoint are specified) Default: <nil>
*/
Region interface{} `yaml:"region,omitempty"`
/*ElbEndpoint - Descr: AWS ELB service endpoint, without protocol/scheme (Optional: default endpoint will be constructed from region if not specified) Default: <nil>
*/
ElbEndpoint interface{} `yaml:"elb_endpoint,omitempty"`
/*Stemcell - Descr: AWS kernel id used by aws cpi Default: <nil>
*/
Stemcell *Stemcell `yaml:"stemcell,omitempty"`
/*SecretAccessKey - Descr: AWS secret_access_key for the aws cpi (Required when aws.credentials_source is set to `static`) Default: <nil>
*/
SecretAccessKey interface{} `yaml:"secret_access_key,omitempty"`
/*DefaultIamInstanceProfile - Descr: Default AWS iam_instance_profile for the aws cpi Default: <nil>
*/
DefaultIamInstanceProfile interface{} `yaml:"default_iam_instance_profile,omitempty"`
}