interface CfnCACertificateProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnCACertificateProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnCACertificateProps |
Java | software.amazon.awscdk.services.iot.CfnCACertificateProps |
Python | aws_cdk.aws_iot.CfnCACertificateProps |
TypeScript | aws-cdk-lib » aws_iot » CfnCACertificateProps |
Properties for defining a CfnCACertificate
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-cacertificate.html
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 cfnCACertificateProps: iot.CfnCACertificateProps = {
caCertificatePem: 'caCertificatePem',
status: 'status',
// the properties below are optional
autoRegistrationStatus: 'autoRegistrationStatus',
certificateMode: 'certificateMode',
registrationConfig: {
roleArn: 'roleArn',
templateBody: 'templateBody',
templateName: 'templateName',
},
removeAutoRegistration: false,
tags: [{
key: 'key',
value: 'value',
}],
verificationCertificatePem: 'verificationCertificatePem',
};
Properties
Name | Type | Description |
---|---|---|
ca | string | The certificate data in PEM format. |
status | string | The status of the CA certificate. |
auto | string | Whether the CA certificate is configured for auto registration of device certificates. |
certificate | string | The mode of the CA. |
registration | IResolvable | Registration | Information about the registration configuration. |
remove | boolean | IResolvable | If true, removes auto registration. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
verification | string | The private key verification certificate. |
caCertificatePem
Type:
string
The certificate data in PEM format.
status
Type:
string
The status of the CA certificate.
Valid values are "ACTIVE" and "INACTIVE".
autoRegistrationStatus?
Type:
string
(optional)
Whether the CA certificate is configured for auto registration of device certificates.
Valid values are "ENABLE" and "DISABLE".
certificateMode?
Type:
string
(optional)
The mode of the CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode .
Valid values are "DEFAULT" and "SNI_ONLY".
registrationConfig?
Type:
IResolvable
|
Registration
(optional)
Information about the registration configuration.
removeAutoRegistration?
Type:
boolean |
IResolvable
(optional)
If true, removes auto registration.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
verificationCertificatePem?
Type:
string
(optional)
The private key verification certificate.