Interface CfnCertificateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificateProps.Jsii$Proxy
CfnCertificate
.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCertificateProps
static final class
An implementation forCfnCertificateProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCertificateProps.Builder
builder()
default String
The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.default String
Specifies which mode of certificate registration to use with this resource.default String
The certificate data in PEM format.default String
The certificate signing request (CSR).The status of the certificate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStatus
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.
- See Also:
-
getCaCertificatePem
The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.- See Also:
-
getCertificateMode
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 inDEFAULT
mode is either generated by AWS IoT Core or registered with an issuer certificate authority (CA). Devices with certificates inDEFAULT
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 inSNI_ONLY
mode is registered without an issuer CA. Devices with certificates inSNI_ONLY
mode must send the SNI extension when connecting to AWS IoT Core .- See Also:
-
getCertificatePem
The certificate data in PEM format.Requires SNI_ONLY for the certificate mode or the accompanying CACertificatePem for registration.
- See Also:
-
getCertificateSigningRequest
The certificate signing request (CSR).- See Also:
-
builder
- Returns:
- a
CfnCertificateProps.Builder
ofCfnCertificateProps
-