Class CfnCertificatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificatePropsMixin>
- Enclosing class:
CfnCertificatePropsMixin
CfnCertificatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()caCertificatePem(String caCertificatePem) The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.certificateMode(String certificateMode) Specifies which mode of certificate registration to use with this resource.certificatePem(String certificatePem) The certificate data in PEM format.certificateSigningRequest(String certificateSigningRequest) The certificate signing request (CSR).create()create(CfnPropertyMixinOptions options) The status of the certificate.
-
Method Details
-
create
@Stability(Stable) public static CfnCertificatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCertificatePropsMixin.Builder.
-
caCertificatePem
@Stability(Stable) public CfnCertificatePropsMixin.Builder caCertificatePem(String caCertificatePem) The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY.- Parameters:
caCertificatePem- The CA certificate used to sign the device certificate being registered, not available when CertificateMode is SNI_ONLY. This parameter is required.- Returns:
this- See Also:
-
certificateMode
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 inDEFAULTmode is either generated by AWS IoT Core or registered with an issuer certificate authority (CA). Devices with certificates inDEFAULTmode 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_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode must send the SNI extension when connecting to AWS IoT Core .- Parameters:
certificateMode- Specifies which mode of certificate registration to use with this resource. This parameter is required.- Returns:
this- See Also:
-
certificatePem
The certificate data in PEM format.Requires SNI_ONLY for the certificate mode or the accompanying CACertificatePem for registration.
- Parameters:
certificatePem- The certificate data in PEM format. This parameter is required.- Returns:
this- See Also:
-
certificateSigningRequest
@Stability(Stable) public CfnCertificatePropsMixin.Builder certificateSigningRequest(String certificateSigningRequest) The certificate signing request (CSR).- Parameters:
certificateSigningRequest- The certificate signing request (CSR). This parameter is required.- Returns:
this- See Also:
-
status
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.
- Parameters:
status- The status of the certificate. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCertificatePropsMixin>- Returns:
- a newly built instance of
CfnCertificatePropsMixin.
-