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

com.pulumi.vault.secrets.kotlin.outputs.SyncAssociationMetadata.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: 6.4.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.vault.secrets.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property subKey Subkey of the associated secret.
 * @property syncStatus A map of sync statuses for each subkey of the associated secret
 * (for ex. `{kv_624bea/aws-token/dev: "SYNCED", kv_624bea/aws-token/prod: "SYNCED"}`).
 * @property updatedAt A map of duration strings specifying when each subkey of the associated
 * secret was last updated.
 * (for ex.
 * `{kv_624bea/aws-token/dev: "2024-03-21T12:42:02.558533-07:00",
 * kv_624bea/aws-token/prod: "2024-03-21T12:42:02.558533-07:00"}`).
 */
public data class SyncAssociationMetadata(
    public val subKey: String? = null,
    public val syncStatus: String? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.vault.secrets.outputs.SyncAssociationMetadata): SyncAssociationMetadata = SyncAssociationMetadata(
            subKey = javaType.subKey().map({ args0 -> args0 }).orElse(null),
            syncStatus = javaType.syncStatus().map({ args0 -> args0 }).orElse(null),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy