com.pulumi.aws.synthetics.kotlin.outputs.GetRuntimeVersionResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.synthetics.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getRuntimeVersion.
* @property deprecationDate Date of deprecation if the runtme version is deprecated.
* @property description Description of the runtime version, created by Amazon.
* @property id Name of the runtime version. For a list of valid runtime versions, see [Canary Runtime Versions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html).
* @property latest
* @property prefix
* @property releaseDate Date that the runtime version was released.
* @property version
* @property versionName Name of the runtime version. For a list of valid runtime versions, see [Canary Runtime Versions](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html).
*/
public data class GetRuntimeVersionResult(
public val deprecationDate: String,
public val description: String,
public val id: String,
public val latest: Boolean? = null,
public val prefix: String,
public val releaseDate: String,
public val version: String? = null,
public val versionName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.synthetics.outputs.GetRuntimeVersionResult): GetRuntimeVersionResult = GetRuntimeVersionResult(
deprecationDate = javaType.deprecationDate(),
description = javaType.description(),
id = javaType.id(),
latest = javaType.latest().map({ args0 -> args0 }).orElse(null),
prefix = javaType.prefix(),
releaseDate = javaType.releaseDate(),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
versionName = javaType.versionName(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy