Skip to content
v2.278.0

DeviceCertAgeAuditCheckConfigurationProperty Struct ​

Configuration for the device certificate age audit check.

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 deviceCertAgeAuditCheckConfigurationProperty: iot.CfnAccountAuditConfiguration.DeviceCertAgeAuditCheckConfigurationProperty = {
  configuration: {
    certAgeThresholdInDays: 'certAgeThresholdInDays',
  },
  enabled: false,
};
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

device_cert_age_audit_check_configuration_property = iot.CfnAccountAuditConfiguration.DeviceCertAgeAuditCheckConfigurationProperty(
    configuration=iot.CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationProperty(
        cert_age_threshold_in_days="certAgeThresholdInDays"
    ),
    enabled=False
)
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.*;

DeviceCertAgeAuditCheckConfigurationProperty deviceCertAgeAuditCheckConfigurationProperty = DeviceCertAgeAuditCheckConfigurationProperty.builder()
        .configuration(CertAgeCheckCustomConfigurationProperty.builder()
                .certAgeThresholdInDays("certAgeThresholdInDays")
                .build())
        .enabled(false)
        .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 deviceCertAgeAuditCheckConfigurationProperty = new DeviceCertAgeAuditCheckConfigurationProperty {
    Configuration = new CertAgeCheckCustomConfigurationProperty {
        CertAgeThresholdInDays = "certAgeThresholdInDays"
    },
    Enabled = false
};
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"

deviceCertAgeAuditCheckConfigurationProperty := &DeviceCertAgeAuditCheckConfigurationProperty{
	Configuration: &CertAgeCheckCustomConfigurationProperty{
		CertAgeThresholdInDays: jsii.String("certAgeThresholdInDays"),
	},
	Enabled: jsii.Boolean(false),
}

Properties ​

configurationoptionalIResolvable | CfnAccountAuditConfiguration.CertAgeCheckCustomConfigurationPropertyconfigurationoptionaltyping.Union[IResolvable, CertAgeCheckCustomConfigurationProperty]configurationoptionalIResolvableConfigurationoptionalIResolvableConfigurationoptionalinterface{} #
Configuration settings for the device certificate age check, including the threshold in days for certificate age.

This configuration is of type CertAgeCheckCustomConfiguration .

enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{} #
True if this audit check is enabled for this account.