interface ServerCertificateConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnDomainConfiguration.ServerCertificateConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnDomainConfiguration_ServerCertificateConfigProperty |
![]() | software.amazon.awscdk.services.iot.CfnDomainConfiguration.ServerCertificateConfigProperty |
![]() | aws_cdk.aws_iot.CfnDomainConfiguration.ServerCertificateConfigProperty |
![]() | aws-cdk-lib » aws_iot » CfnDomainConfiguration » ServerCertificateConfigProperty |
The server certificate configuration.
For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const serverCertificateConfigProperty: iot.CfnDomainConfiguration.ServerCertificateConfigProperty = {
enableOcspCheck: false,
ocspAuthorizedResponderArn: 'ocspAuthorizedResponderArn',
ocspLambdaArn: 'ocspLambdaArn',
};
Properties
Name | Type | Description |
---|---|---|
enable | boolean | IResolvable | A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. |
ocsp | string | 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. |
ocsp | string | 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. |
enableOcspCheck?
Type:
boolean |
IResolvable
(optional)
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.
ocspAuthorizedResponderArn?
Type:
string
(optional)
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.
ocspLambdaArn?
Type:
string
(optional)
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.