All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.ArnFormat.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk

sealed abstract class ArnFormat(val underlying: software.amazon.awscdk.ArnFormat)
  extends Product
    with Serializable

object ArnFormat {
  implicit def toAws(value: ArnFormat): software.amazon.awscdk.ArnFormat =
    Option(value).map(_.underlying).orNull

  case object NoResourceName
    extends ArnFormat(software.amazon.awscdk.ArnFormat.NO_RESOURCE_NAME)

  case object ColonResourceName
    extends ArnFormat(software.amazon.awscdk.ArnFormat.COLON_RESOURCE_NAME)

  case object SlashResourceName
    extends ArnFormat(software.amazon.awscdk.ArnFormat.SLASH_RESOURCE_NAME)

  case object SlashResourceSlashResourceName
    extends ArnFormat(software.amazon.awscdk.ArnFormat.SLASH_RESOURCE_SLASH_RESOURCE_NAME)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy