@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-02T14:17:13.860Z") @Stability(value=Stable) public interface CfnCertificateProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnCertificateProps cfnCertificateProps = CfnCertificateProps.builder()
.status("status")
// the properties below are optional
.caCertificatePem("caCertificatePem")
.certificateMode("certificateMode")
.certificatePem("certificatePem")
.certificateSigningRequest("certificateSigningRequest")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCertificateProps.Builder
A builder for
CfnCertificateProps |
static class |
CfnCertificateProps.Jsii$Proxy
An implementation for
CfnCertificateProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCertificateProps.Builder |
builder() |
default String |
getCaCertificatePem()
The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.
|
default String |
getCertificateMode()
Specifies which mode of certificate registration to use with this resource.
|
default String |
getCertificatePem()
The certificate data in PEM format.
|
default String |
getCertificateSigningRequest()
The certificate signing request (CSR).
|
String |
getStatus()
The status of the certificate.
|
@Stability(value=Stable) @NotNull String getStatus()
Valid values are ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, and PENDING_ACTIVATION.
The status value REGISTER_INACTIVE is deprecated and should not be used.
@Stability(value=Stable) @Nullable default String getCaCertificatePem()
@Stability(value=Stable) @Nullable default String getCertificateMode()
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 .
@Stability(value=Stable) @Nullable default String getCertificatePem()
Requires SNI_ONLY for the certificate mode or the accompanying CACertificatePem for registration.
@Stability(value=Stable) @Nullable default String getCertificateSigningRequest()
@Stability(value=Stable) static CfnCertificateProps.Builder builder()
CfnCertificateProps.Builder of CfnCertificatePropsCopyright © 2023. All rights reserved.