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

io.cloudshiftdev.awscdk.services.apigatewayv2.SecurityPolicy.kt Maven / Gradle / Ivy

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

package io.cloudshiftdev.awscdk.services.apigatewayv2

public enum class SecurityPolicy(
  private val cdkObject: software.amazon.awscdk.services.apigatewayv2.SecurityPolicy,
) {
  TLS_1_0(software.amazon.awscdk.services.apigatewayv2.SecurityPolicy.TLS_1_0),
  TLS_1_2(software.amazon.awscdk.services.apigatewayv2.SecurityPolicy.TLS_1_2),
  ;

  public companion object {
    internal fun wrap(cdkObject: software.amazon.awscdk.services.apigatewayv2.SecurityPolicy):
        SecurityPolicy = when (cdkObject) {
      software.amazon.awscdk.services.apigatewayv2.SecurityPolicy.TLS_1_0 -> SecurityPolicy.TLS_1_0
      software.amazon.awscdk.services.apigatewayv2.SecurityPolicy.TLS_1_2 -> SecurityPolicy.TLS_1_2
    }

    internal fun unwrap(wrapped: SecurityPolicy):
        software.amazon.awscdk.services.apigatewayv2.SecurityPolicy = wrapped.cdkObject
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy