region

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: BSD-3-Clause Imports: 3 Imported by: 5

Documentation

Overview

Package region provides information about AWS partitions and their regions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Partition

func Partition(region string) string

Partition returns the partition of the specified region.

func Partitions

func Partitions() []string

Partitions returns all known partitions.

func Related(partOrRegion string) []string

Related returns all regions in a partition, which may be specified explicitly by name or implicitly by one of its regions.

func Subset

func Subset(partition, service string) []string

Subset returns all regions in a partition that support the specified service.

func Supports

func Supports(region, service string) bool

Supports returns true if service is supported in region. Matching is strict, so services like IAM are considered to be only in the aws-global region.

Types

This section is empty.

Jump to

Keyboard shortcuts

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