com.pulumi.aws.datazone.kotlin.outputs.DomainTimeouts.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.datazone.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property create A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
* @property delete A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
*/
public data class DomainTimeouts(
public val create: String? = null,
public val delete: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.datazone.outputs.DomainTimeouts): DomainTimeouts =
DomainTimeouts(
create = javaType.create().map({ args0 -> args0 }).orElse(null),
delete = javaType.delete().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy