CertificateArgs

data class CertificateArgs(val caCertificatePem: Output<String>? = null, val certificateMode: Output<CertificateMode>? = null, val certificatePem: Output<String>? = null, val certificateSigningRequest: Output<String>? = null, val status: Output<CertificateStatus>? = null) : ConvertibleToJava<CertificateArgs>

Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate.

Constructors

Link copied to clipboard
constructor(caCertificatePem: Output<String>? = null, certificateMode: Output<CertificateMode>? = null, certificatePem: Output<String>? = null, certificateSigningRequest: Output<String>? = null, status: Output<CertificateStatus>? = null)

Properties

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

The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.

Link copied to clipboard
val certificateMode: Output<CertificateMode>? = null

Specifies which mode of certificate registration to use with this resource. Valid options are DEFAULT with CaCertificatePem and CertificatePem, SNI_ONLY with CertificatePem, and Default with CertificateSigningRequest. DEFAULT : A certificate in DEFAULT mode is either generated by AWS IoT Core or registered with an issuer certificate authority (CA). Devices with certificates in DEFAULT mode aren't required to send the Server Name Indication (SNI) extension when connecting to AWS IoT Core . However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to AWS IoT Core . SNI_ONLY : A certificate in SNI_ONLY mode is registered without an issuer CA. Devices with certificates in SNI_ONLY mode must send the SNI extension when connecting to AWS IoT Core .

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

The certificate data in PEM format. Requires SNI_ONLY for the certificate mode or the accompanying CACertificatePem for registration.

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

The certificate signing request (CSR).

Link copied to clipboard
val status: Output<CertificateStatus>? = null

The status of the certificate. Valid values are ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, and PENDING_ACTIVATION. The status value REGISTER_INACTIVE is deprecated and should not be used.

Functions

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