
com.pulumi.awsnative.lambda.kotlin.outputs.GetVersionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lambda.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
/**
*
* @property functionArn The ARN of the version.
* @property policy The resource policy of your function
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Lambda::Version` for more information about the expected schema for this property.
* @property version The version number.
*/
public data class GetVersionResult(
public val functionArn: String? = null,
public val policy: Any? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.GetVersionResult): GetVersionResult = GetVersionResult(
functionArn = javaType.functionArn().map({ args0 -> args0 }).orElse(null),
policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy