All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gitlab.kotlin.outputs.GroupServiceAccountAccessTokenRotationConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.4.2.0
Show newest version
@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