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

com.pulumi.awsnative.msk.kotlin.outputs.GetClusterPolicyResult.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.msk.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property currentVersion The current version of the policy attached to the specified cluster
 * @property policy A policy document containing permissions to add to the specified cluster.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MSK::ClusterPolicy` for more information about the expected schema for this property.
 */
public data class GetClusterPolicyResult(
    public val currentVersion: String? = null,
    public val policy: Any? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.msk.outputs.GetClusterPolicyResult): GetClusterPolicyResult = GetClusterPolicyResult(
            currentVersion = javaType.currentVersion().map({ args0 -> args0 }).orElse(null),
            policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy