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

com.pulumi.awsnative.rolesanywhere.kotlin.outputs.GetCrlResult.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.rolesanywhere.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property crlData The x509 v3 specified certificate revocation list (CRL).
 * @property crlId The unique primary identifier of the Crl
 * @property enabled Specifies whether the certificate revocation list (CRL) is enabled.
 * @property name The name of the certificate revocation list (CRL).
 * @property tags A list of tags to attach to the certificate revocation list (CRL).
 * @property trustAnchorArn The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
 */
public data class GetCrlResult(
    public val crlData: String? = null,
    public val crlId: String? = null,
    public val enabled: Boolean? = null,
    public val name: String? = null,
    public val tags: List? = null,
    public val trustAnchorArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.rolesanywhere.outputs.GetCrlResult): GetCrlResult = GetCrlResult(
            crlData = javaType.crlData().map({ args0 -> args0 }).orElse(null),
            crlId = javaType.crlId().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            trustAnchorArn = javaType.trustAnchorArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy