# CertAgeCheckCustomConfigurationProperty

Configuration structure containing settings for the device certificate age check.

- Source: Generated at build time
- Type last changed: v2.183.0 · 12 Mar 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `certAgeThresholdInDays`: 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.
