com.pulumi.awsnative.rolesanywhere.kotlin.CrlArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rolesanywhere.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.rolesanywhere.CrlArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::RolesAnywhere::CRL Resource Type
* @property crlData The x509 v3 specified certificate revocation list (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 CrlArgs(
public val crlData: Output? = null,
public val enabled: Output? = null,
public val name: Output? = null,
public val tags: Output>? = null,
public val trustAnchorArn: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rolesanywhere.CrlArgs =
com.pulumi.awsnative.rolesanywhere.CrlArgs.builder()
.crlData(crlData?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.trustAnchorArn(trustAnchorArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CrlArgs].
*/
@PulumiTagMarker
public class CrlArgsBuilder internal constructor() {
private var crlData: Output? = null
private var enabled: Output? = null
private var name: Output? = null
private var tags: Output>? = null
private var trustAnchorArn: Output? = null
/**
* @param value The x509 v3 specified certificate revocation list (CRL).
*/
@JvmName("bgqkweenkyufnqxi")
public suspend fun crlData(`value`: Output) {
this.crlData = value
}
/**
* @param value Specifies whether the certificate revocation list (CRL) is enabled.
*/
@JvmName("upruovevfsdrkqrv")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The name of the certificate revocation list (CRL).
*/
@JvmName("fdsjtcguofippexr")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A list of tags to attach to the certificate revocation list (CRL).
*/
@JvmName("gewtmftpfmysjgpl")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("vvhlovqgcuytsltn")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A list of tags to attach to the certificate revocation list (CRL).
*/
@JvmName("deftmryjruycyfpm")
public suspend fun tags(values: List