Class CfnDomainConfiguration.ServerCertificateConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnDomainConfiguration.ServerCertificateConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainConfiguration.ServerCertificateConfigProperty>
- Enclosing interface:
CfnDomainConfiguration.ServerCertificateConfigProperty
@Stability(Stable)
public static final class CfnDomainConfiguration.ServerCertificateConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainConfiguration.ServerCertificateConfigProperty>
A builder for
CfnDomainConfiguration.ServerCertificateConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableOcspCheck
(Boolean enableOcspCheck) enableOcspCheck
(IResolvable enableOcspCheck) ocspAuthorizedResponderArn
(String ocspAuthorizedResponderArn) ocspLambdaArn
(String ocspLambdaArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableOcspCheck
@Stability(Stable) public CfnDomainConfiguration.ServerCertificateConfigProperty.Builder enableOcspCheck(Boolean enableOcspCheck) - Parameters:
enableOcspCheck
- A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.- Returns:
this
-
enableOcspCheck
@Stability(Stable) public CfnDomainConfiguration.ServerCertificateConfigProperty.Builder enableOcspCheck(IResolvable enableOcspCheck) - Parameters:
enableOcspCheck
- A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.- Returns:
this
-
ocspAuthorizedResponderArn
@Stability(Stable) public CfnDomainConfiguration.ServerCertificateConfigProperty.Builder ocspAuthorizedResponderArn(String ocspAuthorizedResponderArn) Sets the value ofCfnDomainConfiguration.ServerCertificateConfigProperty.getOcspAuthorizedResponderArn()
- Parameters:
ocspAuthorizedResponderArn
- The Amazon Resource Name (ARN) for an X.509 certificate stored in ACM. If provided, AWS IoT Core will use this certificate to validate the signature of the received OCSP response. The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, depending on whether the ARN is provided or not. The certificate must be in the same account and region as the domain configuration.- Returns:
this
-
ocspLambdaArn
@Stability(Stable) public CfnDomainConfiguration.ServerCertificateConfigProperty.Builder ocspLambdaArn(String ocspLambdaArn) - Parameters:
ocspLambdaArn
- The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses. The Lambda function accepts a base64-encoding of the OCSP request in the Distinguished Encoding Rules (DER) format. The Lambda function's response is also a base64-encoded OCSP response in the DER format. The response size must not exceed 4 kilobytes (KiB). The Lambda function must be in the same account and region as the domain configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainConfiguration.ServerCertificateConfigProperty>
- Returns:
- a new instance of
CfnDomainConfiguration.ServerCertificateConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-