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.awsnative.acmpca.kotlin.inputs
import com.pulumi.awsnative.acmpca.inputs.CertificateSubjectArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Contains information about the certificate subject. The ``Subject`` field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The ``Subject``must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.
* @property commonName For CA and end-entity certificates in a private PKI, the common name (CN) can be any string within the length limit.
* Note: In publicly trusted certificates, the common name must be a fully qualified domain name (FQDN) associated with the certificate subject.
* @property country Two-digit code that specifies the country in which the certificate subject located.
* @property customAttributes Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NIST’s definition of [Object Identifier (OID)](https://docs.aws.amazon.com/https://csrc.nist.gov/glossary/term/Object_Identifier).
* Custom attributes cannot be used in combination with standard attributes.
* @property distinguishedNameQualifier Disambiguating information for the certificate subject.
* @property generationQualifier Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.
* @property givenName First name.
* @property initials Concatenation that typically contains the first letter of the *GivenName*, the first letter of the middle name if one exists, and the first letter of the *Surname*.
* @property locality The locality (such as a city or town) in which the certificate subject is located.
* @property organization Legal name of the organization with which the certificate subject is affiliated.
* @property organizationalUnit A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.
* @property pseudonym Typically a shortened version of a longer *GivenName*. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.
* @property serialNumber The certificate serial number.
* @property state State in which the subject of the certificate is located.
* @property surname Family name. In the US and the UK, for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first.
* @property title A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.
*/
public data class CertificateSubjectArgs(
public val commonName: Output? = null,
public val country: Output? = null,
public val customAttributes: Output>? = null,
public val distinguishedNameQualifier: Output? = null,
public val generationQualifier: Output? = null,
public val givenName: Output? = null,
public val initials: Output? = null,
public val locality: Output? = null,
public val organization: Output? = null,
public val organizationalUnit: Output? = null,
public val pseudonym: Output? = null,
public val serialNumber: Output? = null,
public val state: Output? = null,
public val surname: Output? = null,
public val title: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.acmpca.inputs.CertificateSubjectArgs =
com.pulumi.awsnative.acmpca.inputs.CertificateSubjectArgs.builder()
.commonName(commonName?.applyValue({ args0 -> args0 }))
.country(country?.applyValue({ args0 -> args0 }))
.customAttributes(
customAttributes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.distinguishedNameQualifier(distinguishedNameQualifier?.applyValue({ args0 -> args0 }))
.generationQualifier(generationQualifier?.applyValue({ args0 -> args0 }))
.givenName(givenName?.applyValue({ args0 -> args0 }))
.initials(initials?.applyValue({ args0 -> args0 }))
.locality(locality?.applyValue({ args0 -> args0 }))
.organization(organization?.applyValue({ args0 -> args0 }))
.organizationalUnit(organizationalUnit?.applyValue({ args0 -> args0 }))
.pseudonym(pseudonym?.applyValue({ args0 -> args0 }))
.serialNumber(serialNumber?.applyValue({ args0 -> args0 }))
.state(state?.applyValue({ args0 -> args0 }))
.surname(surname?.applyValue({ args0 -> args0 }))
.title(title?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateSubjectArgs].
*/
@PulumiTagMarker
public class CertificateSubjectArgsBuilder internal constructor() {
private var commonName: Output? = null
private var country: Output? = null
private var customAttributes: Output>? = null
private var distinguishedNameQualifier: Output? = null
private var generationQualifier: Output? = null
private var givenName: Output? = null
private var initials: Output? = null
private var locality: Output? = null
private var organization: Output? = null
private var organizationalUnit: Output? = null
private var pseudonym: Output? = null
private var serialNumber: Output? = null
private var state: Output? = null
private var surname: Output? = null
private var title: Output? = null
/**
* @param value For CA and end-entity certificates in a private PKI, the common name (CN) can be any string within the length limit.
* Note: In publicly trusted certificates, the common name must be a fully qualified domain name (FQDN) associated with the certificate subject.
*/
@JvmName("hystgakfsqagscex")
public suspend fun commonName(`value`: Output) {
this.commonName = value
}
/**
* @param value Two-digit code that specifies the country in which the certificate subject located.
*/
@JvmName("ybpbgykrecqcsxmn")
public suspend fun country(`value`: Output) {
this.country = value
}
/**
* @param value Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NIST’s definition of [Object Identifier (OID)](https://docs.aws.amazon.com/https://csrc.nist.gov/glossary/term/Object_Identifier).
* Custom attributes cannot be used in combination with standard attributes.
*/
@JvmName("tajkeetxdhjhtlgc")
public suspend fun customAttributes(`value`: Output>) {
this.customAttributes = value
}
@JvmName("gcywhtfdexvnhyaf")
public suspend fun customAttributes(vararg values: Output) {
this.customAttributes = Output.all(values.asList())
}
/**
* @param values Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NIST’s definition of [Object Identifier (OID)](https://docs.aws.amazon.com/https://csrc.nist.gov/glossary/term/Object_Identifier).
* Custom attributes cannot be used in combination with standard attributes.
*/
@JvmName("mbndjeavqjrdgvdp")
public suspend fun customAttributes(values: List