Files
grafana/pkg/tsdb/cloudwatch/constants/metrics.go
T
Nathan Vērzemnieks 560be84dc8 [release-12.0.5] Backport aws-sdk-go-v2 update and subsequent fixes (#111243)
* CloudWatch: Backport aws-sdk-go-v2 update from external plugin (#107136)

(cherry picked from a18ea34688)

* Datasources: Update grafana-aws-sdk for new sigv4 middleware and aws-sdk-go v1 removal (#107522)

(cherry picked from commit 66d9a33cc9)

* CloudWatch: Fix proxy transport issue (#107807)

(cherry picked from c3eeb1fcd9)

* CloudWatch: Fix http client handling + assume role bug (#107893)

(cherry picked from commit f34a9fc0c2)

* CloudWatch: Use default region when query region is unset (#109089)

(cherry picked from commit 5f4097a159)

* CloudWatch: Fix handling region for legacy alerts (#109217)

(cherry picked from commit 2bf9aea8ef)

* Update go.mod owners

---------

Co-authored-by: Isabella Siu <Isabella.siu@grafana.com>
2025-09-19 12:46:40 +02:00

48 lines
1.0 KiB
Go

package constants
type RegionsSet map[string]struct{}
func Regions() RegionsSet {
return RegionsSet{
"af-south-1": {},
"ap-east-1": {},
"ap-east-2": {},
"ap-northeast-1": {},
"ap-northeast-2": {},
"ap-northeast-3": {},
"ap-south-1": {},
"ap-south-2": {},
"ap-southeast-1": {},
"ap-southeast-2": {},
"ap-southeast-3": {},
"ap-southeast-4": {},
"ap-southeast-5": {},
"ap-southeast-7": {},
"ca-central-1": {},
"ca-west-1": {},
"cn-north-1": {},
"cn-northwest-1": {},
"eu-central-1": {},
"eu-central-2": {},
"eu-north-1": {},
"eu-south-1": {},
"eu-south-2": {},
"eu-west-1": {},
"eu-west-2": {},
"eu-west-3": {},
"il-central-1": {},
"me-central-1": {},
"me-south-1": {},
"mx-central-1": {},
"sa-east-1": {},
"us-east-1": {},
"us-east-2": {},
"us-gov-east-1": {},
"us-gov-west-1": {},
"us-iso-east-1": {},
"us-isob-east-1": {},
"us-west-1": {},
"us-west-2": {},
}
}