Region

sealed class Region

The Amazon Web Services Region.

Inheritors

Types

Link copied to clipboard
data class RegionName(val value: String) : Region

The Amazon Web Services Region name.

Link copied to clipboard
data class RegionNamePath(val value: String) : Region

The region name path.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this Region as a RegionName and retrieves its kotlin.String value. Throws an exception if the Region is not a RegionName.

Link copied to clipboard

Casts this Region as a RegionName and retrieves its kotlin.String value. Returns null if the Region is not a RegionName.

Link copied to clipboard

Casts this Region as a RegionNamePath and retrieves its kotlin.String value. Throws an exception if the Region is not a RegionNamePath.

Link copied to clipboard

Casts this Region as a RegionNamePath and retrieves its kotlin.String value. Returns null if the Region is not a RegionNamePath.