com.pulumi.gcp.secretmanager.kotlin.outputs.GetSecretRotation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.secretmanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property nextRotationTime Timestamp in UTC at which the Secret is scheduled to rotate.
* A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
* @property rotationPeriod The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years).
* If rotationPeriod is set, 'next_rotation_time' must be set. 'next_rotation_time' will be advanced by this period when the service automatically sends rotation notifications.
*/
public data class GetSecretRotation(
public val nextRotationTime: String,
public val rotationPeriod: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.secretmanager.outputs.GetSecretRotation): GetSecretRotation = GetSecretRotation(
nextRotationTime = javaType.nextRotationTime(),
rotationPeriod = javaType.rotationPeriod(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy