com.pulumi.awsnative.kotlin.enums.Region.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* A Region represents any valid Amazon region that may be targeted with deployments.
*/
public enum class Region(
public val javaValue: com.pulumi.awsnative.enums.Region,
) : ConvertibleToJava {
/**
* Africa (Cape Town)
*/
AfSouth1(com.pulumi.awsnative.enums.Region.AfSouth1),
/**
* Asia Pacific (Hong Kong)
*/
ApEast1(com.pulumi.awsnative.enums.Region.ApEast1),
/**
* Asia Pacific (Tokyo)
*/
ApNortheast1(com.pulumi.awsnative.enums.Region.ApNortheast1),
/**
* Asia Pacific (Seoul)
*/
ApNortheast2(com.pulumi.awsnative.enums.Region.ApNortheast2),
/**
* Asia Pacific (Osaka)
*/
ApNortheast3(com.pulumi.awsnative.enums.Region.ApNortheast3),
/**
* Asia Pacific (Mumbai)
*/
ApSouth1(com.pulumi.awsnative.enums.Region.ApSouth1),
/**
* Asia Pacific (Singapore)
*/
ApSoutheast1(com.pulumi.awsnative.enums.Region.ApSoutheast1),
/**
* Asia Pacific (Sydney)
*/
ApSoutheast2(com.pulumi.awsnative.enums.Region.ApSoutheast2),
/**
* Canada (Central)
*/
CaCentral(com.pulumi.awsnative.enums.Region.CaCentral),
/**
* China (Beijing)
*/
CnNorth1(com.pulumi.awsnative.enums.Region.CnNorth1),
/**
* China (Ningxia)
*/
CnNorthwest1(com.pulumi.awsnative.enums.Region.CnNorthwest1),
/**
* Europe (Frankfurt)
*/
EuCentral1(com.pulumi.awsnative.enums.Region.EuCentral1),
/**
* Europe (Stockholm)
*/
EuNorth1(com.pulumi.awsnative.enums.Region.EuNorth1),
/**
* Europe (Ireland)
*/
EuWest1(com.pulumi.awsnative.enums.Region.EuWest1),
/**
* Europe (London)
*/
EuWest2(com.pulumi.awsnative.enums.Region.EuWest2),
/**
* Europe (Paris)
*/
EuWest3(com.pulumi.awsnative.enums.Region.EuWest3),
/**
* Europe (Milan)
*/
EuSouth1(com.pulumi.awsnative.enums.Region.EuSouth1),
/**
* Middle East (Bahrain)
*/
MeSouth1(com.pulumi.awsnative.enums.Region.MeSouth1),
/**
* South America (São Paulo)
*/
SaEast1(com.pulumi.awsnative.enums.Region.SaEast1),
/**
* AWS GovCloud (US-East)
*/
UsGovEast1(com.pulumi.awsnative.enums.Region.UsGovEast1),
/**
* AWS GovCloud (US-West)
*/
UsGovWest1(com.pulumi.awsnative.enums.Region.UsGovWest1),
/**
* US East (N. Virginia)
*/
UsEast1(com.pulumi.awsnative.enums.Region.UsEast1),
/**
* US East (Ohio)
*/
UsEast2(com.pulumi.awsnative.enums.Region.UsEast2),
/**
* US West (N. California)
*/
UsWest1(com.pulumi.awsnative.enums.Region.UsWest1),
/**
* US West (Oregon)
*/
UsWest2(com.pulumi.awsnative.enums.Region.UsWest2),
;
override fun toJava(): com.pulumi.awsnative.enums.Region = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.enums.Region): Region =
Region.values().first { it.javaValue == javaType }
}
}