com.pulumi.gitlab.kotlin.outputs.GroupAccessTokenRotationConfiguration.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 expirationDays The duration (in days) the new token should be valid for.
* @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 GroupAccessTokenRotationConfiguration(
public val expirationDays: Int,
public val rotateBeforeDays: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gitlab.outputs.GroupAccessTokenRotationConfiguration): GroupAccessTokenRotationConfiguration = GroupAccessTokenRotationConfiguration(
expirationDays = javaType.expirationDays(),
rotateBeforeDays = javaType.rotateBeforeDays(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy