CertificateArgs

data class CertificateArgs(val apiPassthrough: Output<CertificateApiPassthroughArgs>? = null, val certificateAuthorityArn: Output<String>? = null, val certificateSigningRequest: Output<String>? = null, val signingAlgorithm: Output<String>? = null, val templateArn: Output<String>? = null, val validity: Output<CertificateValidityArgs>? = null, val validityNotBefore: Output<CertificateValidityArgs>? = null) : ConvertibleToJava<CertificateArgs>

The `AWS::ACMPCA::Certificate` resource is used to issue a certificate using your private certificate authority. For more information, see the IssueCertificate action.

Constructors

Link copied to clipboard
constructor(apiPassthrough: Output<CertificateApiPassthroughArgs>? = null, certificateAuthorityArn: Output<String>? = null, certificateSigningRequest: Output<String>? = null, signingAlgorithm: Output<String>? = null, templateArn: Output<String>? = null, validity: Output<CertificateValidityArgs>? = null, validityNotBefore: Output<CertificateValidityArgs>? = null)

Properties

Link copied to clipboard

Specifies X.509 certificate information to be included in the issued certificate. An `APIPassthrough` or `APICSRPassthrough` template variant must be selected, or else this parameter is ignored.

Link copied to clipboard
val certificateAuthorityArn: Output<String>? = null

The Amazon Resource Name (ARN) for the private CA issues the certificate.

Link copied to clipboard
val certificateSigningRequest: Output<String>? = null

The certificate signing request (CSR) for the certificate.

Link copied to clipboard
val signingAlgorithm: Output<String>? = null

The name of the algorithm that will be used to sign the certificate to be issued. This parameter should not be confused with the `SigningAlgorithm` parameter used to sign a CSR in the `CreateCertificateAuthority` action. The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.

Link copied to clipboard
val templateArn: Output<String>? = null

Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, PCAshort defaults to the `EndEntityCertificate/V1` template. For more information about PCAshort templates, see Using Templates.

Link copied to clipboard
val validity: Output<CertificateValidityArgs>? = null

The period of time during which the certificate will be valid.

Link copied to clipboard

Information describing the start of the validity period of the certificate. This parameter sets the "Not Before" date for the certificate. By default, when issuing a certificate, PCAshort sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The `ValidityNotBefore` parameter can be used to customize the "Not Before" value. Unlike the `Validity` parameter, the `ValidityNotBefore` parameter is optional. The `ValidityNotBefore` value is expressed as an explicit date and time, using the `Validity` type value `ABSOLUTE`.

Functions

Link copied to clipboard
open override fun toJava(): CertificateArgs