com.pulumi.gitlab.kotlin.outputs.GroupServiceAccountAccessTokenRotationConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gitlab-kotlin Show documentation
Show all versions of pulumi-gitlab-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.gitlab.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property rotateBeforeDays The duration (in days) before the expiration when the token should be rotated. As an example, if set to 7 days, the token will rotate 7 days before the expiration date, but only when `pulumi up` is run in that timeframe.
*/
public data class GroupServiceAccountAccessTokenRotationConfiguration(
public val rotateBeforeDays: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GroupServiceAccountAccessTokenRotationConfiguration): GroupServiceAccountAccessTokenRotationConfiguration =
GroupServiceAccountAccessTokenRotationConfiguration(
rotateBeforeDays = javaType.rotateBeforeDays(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy