/
mappings.go
115 lines (111 loc) · 3.24 KB
/
mappings.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package cloudformation
import (
gocf "github.com/mweagle/go-cloudformation"
)
// Constants for https://docs.aws.amazon.com/general/latest/gr/rande.html
const (
// Endpoint property
Endpoint = "endpoint"
// Protocol property
Protocol = "protocol"
// HostedZoneID property
HostedZoneID = "hostedZoneID"
)
// APIGatewayMapping is the mapping for APIGateway settings
var APIGatewayMapping = &gocf.Mapping{
"us-east-2": map[string]string{
Endpoint: "apigateway.us-east-2.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "ZOJJZC49E0EPZ",
},
"us-east-1": map[string]string{
Endpoint: "apigateway.us-east-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z1UJRXOUMOOFQ8",
},
"us-west-1": map[string]string{
Endpoint: "apigateway.us-west-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z2MUQ32089INYE",
},
"us-west-2": map[string]string{
Endpoint: "apigateway.us-west-2.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z2OJLYMUO9EFXC",
},
"ap-south-1": map[string]string{
Endpoint: "apigateway.ap-south-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z3VO1THU9YC4UR",
},
"ap-northeast-3": map[string]string{
Endpoint: "apigateway.ap-northeast-3.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z2YQB5RD63NC85",
},
"ap-northeast-2": map[string]string{
Endpoint: "apigateway.ap-northeast-2.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z20JF4UZKIW1U8",
},
"ap-southeast-1": map[string]string{
Endpoint: "apigateway.ap-southeast-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "ZL327KTPIQFUL",
},
"ap-southeast-2": map[string]string{
Endpoint: "apigateway.ap-southeast-2.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z2RPCDW04V8134",
},
"ap-northeast-1": map[string]string{
Endpoint: "apigateway.ap-northeast-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z1YSHQZHG15GKL",
},
"ca-central-1": map[string]string{
Endpoint: "apigateway.ca-central-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z19DQILCV0OWEC",
},
"cn-north-1": map[string]string{
Endpoint: "apigateway.cn-north-1.amazonaws.com.cn",
Protocol: "HTTPS",
HostedZoneID: "",
},
"cn-northwest-1": map[string]string{
Endpoint: "apigateway.cn-northwest-1.amazonaws.com.cn",
Protocol: "HTTPS",
HostedZoneID: "",
},
"eu-central-1": map[string]string{
Endpoint: "apigateway.eu-central-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z1U9ULNL0V5AJ3",
},
"eu-west-1": map[string]string{
Endpoint: "apigateway.eu-west-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "ZLY8HYME6SFDD",
},
"eu-west-2": map[string]string{
Endpoint: "apigateway.eu-west-2.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "ZJ5UAJN8Y3Z2Q",
},
"eu-west-3": map[string]string{
Endpoint: "apigateway.eu-west-3.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z3KY65QIEKYHQQ",
},
"eu-north-1": map[string]string{
Endpoint: "apigateway.eu-north-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "Z2YB950C88HT6D",
},
"sa-east-1": map[string]string{
Endpoint: "apigateway.sa-east-1.amazonaws.com",
Protocol: "HTTPS",
HostedZoneID: "ZCMLWB8V5SYIT",
},
}