Class CfnCertificateProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iot.CfnCertificateProps.Jsii$Proxy
All Implemented Interfaces:
CfnCertificateProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnCertificateProps

@Stability(Stable) @Internal public static final class CfnCertificateProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCertificateProps
An implementation for CfnCertificateProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnCertificateProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnCertificateProps.Builder.
  • Method Details

    • getStatus

      public final String getStatus()
      Description copied from interface: CfnCertificateProps
      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.

      Specified by:
      getStatus in interface CfnCertificateProps
    • getCaCertificatePem

      public final String getCaCertificatePem()
      Description copied from interface: CfnCertificateProps
      The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.
      Specified by:
      getCaCertificatePem in interface CfnCertificateProps
    • getCertificateMode

      public final String getCertificateMode()
      Description copied from interface: CfnCertificateProps
      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 .

      Specified by:
      getCertificateMode in interface CfnCertificateProps
    • getCertificatePem

      public final String getCertificatePem()
      Description copied from interface: CfnCertificateProps
      The certificate data in PEM format.

      Requires SNI_ONLY for the certificate mode or the accompanying CACertificatePem for registration.

      Specified by:
      getCertificatePem in interface CfnCertificateProps
    • getCertificateSigningRequest

      public final String getCertificateSigningRequest()
      Description copied from interface: CfnCertificateProps
      The certificate signing request (CSR).
      Specified by:
      getCertificateSigningRequest in interface CfnCertificateProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object