Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.gcp.certificateauthority.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificateauthority.inputs.CaPoolIssuancePolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedIssuanceModes IssuanceModes specifies the allowed ways in which Certificates may be requested from this CaPool.
* Structure is documented below.
* @property allowedKeyTypes If any AllowedKeyType is specified, then the certificate request's public key must match one of the key types listed here.
* Otherwise, any key may be used.
* Structure is documented below.
* @property baselineValues A set of X.509 values that will be applied to all certificates issued through this CaPool. If a certificate request
* includes conflicting values for the same properties, they will be overwritten by the values defined here. If a certificate
* request uses a CertificateTemplate that defines conflicting predefinedValues for the same properties, the certificate
* issuance request will fail.
* Structure is documented below.
* @property identityConstraints Describes constraints on identities that may appear in Certificates issued through this CaPool.
* If this is omitted, then this CaPool will not add restrictions on a certificate's identity.
* Structure is documented below.
* @property maximumLifetime The maximum lifetime allowed for issued Certificates. Note that if the issuing CertificateAuthority
* expires before a Certificate's requested maximumLifetime, the effective lifetime will be explicitly truncated to match it.
*/
public data class CaPoolIssuancePolicyArgs(
public val allowedIssuanceModes: Output? = null,
public val allowedKeyTypes: Output>? = null,
public val baselineValues: Output? = null,
public val identityConstraints: Output? = null,
public val maximumLifetime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CaPoolIssuancePolicyArgs =
com.pulumi.gcp.certificateauthority.inputs.CaPoolIssuancePolicyArgs.builder()
.allowedIssuanceModes(
allowedIssuanceModes?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.allowedKeyTypes(
allowedKeyTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.baselineValues(baselineValues?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.identityConstraints(
identityConstraints?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.maximumLifetime(maximumLifetime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CaPoolIssuancePolicyArgs].
*/
@PulumiTagMarker
public class CaPoolIssuancePolicyArgsBuilder internal constructor() {
private var allowedIssuanceModes: Output? = null
private var allowedKeyTypes: Output>? = null
private var baselineValues: Output? = null
private var identityConstraints: Output? = null
private var maximumLifetime: Output? = null
/**
* @param value IssuanceModes specifies the allowed ways in which Certificates may be requested from this CaPool.
* Structure is documented below.
*/
@JvmName("qkgxijrtvbrusiaq")
public suspend fun allowedIssuanceModes(`value`: Output) {
this.allowedIssuanceModes = value
}
/**
* @param value If any AllowedKeyType is specified, then the certificate request's public key must match one of the key types listed here.
* Otherwise, any key may be used.
* Structure is documented below.
*/
@JvmName("bsdivrqrubwcnvqw")
public suspend fun allowedKeyTypes(`value`: Output>) {
this.allowedKeyTypes = value
}
@JvmName("encveyuarrxakcls")
public suspend fun allowedKeyTypes(vararg values: Output) {
this.allowedKeyTypes = Output.all(values.asList())
}
/**
* @param values If any AllowedKeyType is specified, then the certificate request's public key must match one of the key types listed here.
* Otherwise, any key may be used.
* Structure is documented below.
*/
@JvmName("vuyeunfpysduswwr")
public suspend fun allowedKeyTypes(values: List