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

com.pulumi.gcp.secretmanager.kotlin.outputs.SecretRotation.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.10.0.0
Show newest version
@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 SecretRotation(
    public val nextRotationTime: String? = null,
    public val rotationPeriod: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.secretmanager.outputs.SecretRotation): SecretRotation = SecretRotation(
            nextRotationTime = javaType.nextRotationTime().map({ args0 -> args0 }).orElse(null),
            rotationPeriod = javaType.rotationPeriod().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy