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

io.cloudshiftdev.awscdk.services.sqs.RedrivePermission.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package io.cloudshiftdev.awscdk.services.sqs

public enum class RedrivePermission(
  private val cdkObject: software.amazon.awscdk.services.sqs.RedrivePermission,
) {
  ALLOW_ALL(software.amazon.awscdk.services.sqs.RedrivePermission.ALLOW_ALL),
  DENY_ALL(software.amazon.awscdk.services.sqs.RedrivePermission.DENY_ALL),
  BY_QUEUE(software.amazon.awscdk.services.sqs.RedrivePermission.BY_QUEUE),
  ;

  public companion object {
    internal fun wrap(cdkObject: software.amazon.awscdk.services.sqs.RedrivePermission):
        RedrivePermission = when (cdkObject) {
      software.amazon.awscdk.services.sqs.RedrivePermission.ALLOW_ALL -> RedrivePermission.ALLOW_ALL
      software.amazon.awscdk.services.sqs.RedrivePermission.DENY_ALL -> RedrivePermission.DENY_ALL
      software.amazon.awscdk.services.sqs.RedrivePermission.BY_QUEUE -> RedrivePermission.BY_QUEUE
    }

    internal fun unwrap(wrapped: RedrivePermission):
        software.amazon.awscdk.services.sqs.RedrivePermission = wrapped.cdkObject
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy