CertAgeCheckCustomConfigurationProperty Struct
Configuration structure containing settings for the device certificate age check.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 certAgeCheckCustomConfigurationProperty: iot.CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty = {
certAgeThresholdInDays: 'certAgeThresholdInDays',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot
cert_age_check_custom_configuration_property = iot.CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty(
cert_age_threshold_in_days="certAgeThresholdInDays"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CertAgeCheckCustomConfigurationProperty certAgeCheckCustomConfigurationProperty = CertAgeCheckCustomConfigurationProperty.builder()
.certAgeThresholdInDays("certAgeThresholdInDays")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var certAgeCheckCustomConfigurationProperty = new CertAgeCheckCustomConfigurationProperty {
CertAgeThresholdInDays = "certAgeThresholdInDays"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
certAgeCheckCustomConfigurationProperty := &CertAgeCheckCustomConfigurationProperty{
CertAgeThresholdInDays: jsii.String("certAgeThresholdInDays"),
}
Properties
certAgeThresholdInDaysoptionalstringcert_age_threshold_in_daysoptionalstrcertAgeThresholdInDaysoptionalStringCertAgeThresholdInDaysoptionalstringCertAgeThresholdInDaysoptional*string #The number of days that defines when a device certificate is considered to have aged.
The check will report a finding if a certificate has been active for a number of days greater than or equal to this threshold value.