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

io.cloudshiftdev.awscdk.services.lambda.AdotLambdaLayerGenericVersion.kt Maven / Gradle / Ivy

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

package io.cloudshiftdev.awscdk.services.lambda

import io.cloudshiftdev.awscdk.common.CdkObject
import io.cloudshiftdev.constructs.IConstruct
import kotlin.String

/**
 * The collection of versions of the ADOT Lambda Layer for generic purpose.
 *
 * Example:
 *
 * ```
 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import io.cloudshiftdev.awscdk.services.lambda.*;
 * AdotLambdaLayerGenericVersion adotLambdaLayerGenericVersion =
 * AdotLambdaLayerGenericVersion.LATEST;
 * ```
 */
public open class AdotLambdaLayerGenericVersion(
  cdkObject: software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion,
) : CdkObject(cdkObject) {
  /**
   * The ARN of the Lambda layer.
   *
   * @param scope The binding scope. 
   * @param architecture The architecture of the Lambda layer (either X86_64 or ARM_64). 
   */
  public open fun layerArn(scope: IConstruct, architecture: Architecture): String =
      unwrap(this).layerArn(scope.let(IConstruct.Companion::unwrap),
      architecture.let(Architecture.Companion::unwrap))

  public companion object {
    public val LATEST: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.LATEST)

    public val V0_102_1: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.V0_102_1)

    public val V0_62_1: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.V0_62_1)

    public val V0_82_0: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.V0_82_0)

    public val V0_84_0: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.V0_84_0)

    public val V0_88_0: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.V0_88_0)

    public val V0_90_1: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.V0_90_1)

    public val V0_98_0: AdotLambdaLayerGenericVersion =
        AdotLambdaLayerGenericVersion.wrap(software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion.V0_98_0)

    internal
        fun wrap(cdkObject: software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion):
        AdotLambdaLayerGenericVersion = AdotLambdaLayerGenericVersion(cdkObject)

    internal fun unwrap(wrapped: AdotLambdaLayerGenericVersion):
        software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion = wrapped.cdkObject as
        software.amazon.awscdk.services.lambda.AdotLambdaLayerGenericVersion
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy