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

com.pulumi.vault.kotlin.outputs.GetPolicyDocumentResult.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.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getPolicyDocument.
 * @property hcl The above arguments serialized as a standard Vault HCL policy document.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property namespace
 * @property rules
 */
public data class GetPolicyDocumentResult(
    public val hcl: String,
    public val id: String,
    public val namespace: String? = null,
    public val rules: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.vault.outputs.GetPolicyDocumentResult): GetPolicyDocumentResult = GetPolicyDocumentResult(
            hcl = javaType.hcl(),
            id = javaType.id(),
            namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
            rules = javaType.rules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.vault.kotlin.outputs.GetPolicyDocumentRule.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy