@Stability(value=Stable) public static final class CfnCertificate.Builder extends Object implements software.amazon.jsii.Builder<CfnCertificate>
CfnCertificate.| Modifier and Type | Method and Description |
|---|---|
CfnCertificate |
build() |
CfnCertificate.Builder |
caCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.
|
CfnCertificate.Builder |
certificateMode(String certificateMode)
Specifies which mode of certificate registration to use with this resource.
|
CfnCertificate.Builder |
certificatePem(String certificatePem)
The certificate data in PEM format.
|
CfnCertificate.Builder |
certificateSigningRequest(String certificateSigningRequest)
The certificate signing request (CSR).
|
static CfnCertificate.Builder |
create(software.constructs.Construct scope,
String id) |
CfnCertificate.Builder |
status(String status)
The status of the certificate.
|
@Stability(value=Stable) public static CfnCertificate.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnCertificate.Builder.@Stability(value=Stable) public CfnCertificate.Builder status(String status)
Valid values are ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, and PENDING_ACTIVATION.
The status value REGISTER_INACTIVE is deprecated and should not be used.
status - The status of the certificate. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder caCertificatePem(String caCertificatePem)
caCertificatePem - The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder certificateMode(String certificateMode)
Valid options are DEFAULT with CaCertificatePem and CertificatePem, SNI_ONLY with CertificatePem, and Default with CertificateSigningRequest.
certificateMode - Specifies which mode of certificate registration to use with this resource. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder certificatePem(String certificatePem)
Requires SNI_ONLY for the certificate mode or the accompanying CACertificatePem for registration.
certificatePem - The certificate data in PEM format. This parameter is required.this@Stability(value=Stable) public CfnCertificate.Builder certificateSigningRequest(String certificateSigningRequest)
certificateSigningRequest - The certificate signing request (CSR). This parameter is required.this@Stability(value=Stable) public CfnCertificate build()
build in interface software.amazon.jsii.Builder<CfnCertificate>Copyright © 2022. All rights reserved.