Class CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty>
- Enclosing interface:
CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty
@Stability(Stable)
public static final class CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainConfigurationPropsMixin.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 CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.Builder enableOcspCheck(Boolean enableOcspCheck) Sets the value ofCfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.getEnableOcspCheck()- 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 CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.Builder enableOcspCheck(IResolvable enableOcspCheck) Sets the value ofCfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.getEnableOcspCheck()- 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 CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.Builder ocspAuthorizedResponderArn(String ocspAuthorizedResponderArn) Sets the value ofCfnDomainConfigurationPropsMixin.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 CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.Builder ocspLambdaArn(String ocspLambdaArn) Sets the value ofCfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty.getOcspLambdaArn()- 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty>- Returns:
- a new instance of
CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-