interface CfnScheduledAuditProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnScheduledAuditProps |
Java | software.amazon.awscdk.services.iot.CfnScheduledAuditProps |
Python | aws_cdk.aws_iot.CfnScheduledAuditProps |
TypeScript | @aws-cdk/aws-iot » CfnScheduledAuditProps |
Properties for defining a CfnScheduledAudit.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const cfnScheduledAuditProps: iot.CfnScheduledAuditProps = {
frequency: 'frequency',
targetCheckNames: ['targetCheckNames'],
// the properties below are optional
dayOfMonth: 'dayOfMonth',
dayOfWeek: 'dayOfWeek',
scheduledAuditName: 'scheduledAuditName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| frequency | string | How often the scheduled audit occurs. |
| target | string[] | Which checks are performed during the scheduled audit. |
| day | string | The day of the month on which the scheduled audit is run (if the frequency is "MONTHLY"). |
| day | string | The day of the week on which the scheduled audit is run (if the frequency is "WEEKLY" or "BIWEEKLY"). |
| scheduled | string | The name of the scheduled audit. |
| tags? | Cfn[] | Metadata that can be used to manage the scheduled audit. |
frequency
Type:
string
How often the scheduled audit occurs.
targetCheckNames
Type:
string[]
Which checks are performed during the scheduled audit.
Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)
The following checks are currently aviable:
AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECKCA_CERTIFICATE_EXPIRING_CHECKCA_CERTIFICATE_KEY_QUALITY_CHECKCONFLICTING_CLIENT_IDS_CHECKDEVICE_CERTIFICATE_EXPIRING_CHECKDEVICE_CERTIFICATE_KEY_QUALITY_CHECKDEVICE_CERTIFICATE_SHARED_CHECKIOT_POLICY_OVERLY_PERMISSIVE_CHECKIOT_ROLE_ALIAS_ALLOWS_ACCESS_TO_UNUSED_SERVICES_CHECKIOT_ROLE_ALIAS_OVERLY_PERMISSIVE_CHECKLOGGING_DISABLED_CHECKREVOKED_CA_CERTIFICATE_STILL_ACTIVE_CHECKREVOKED_DEVICE_CERTIFICATE_STILL_ACTIVE_CHECKUNAUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK
dayOfMonth?
Type:
string
(optional)
The day of the month on which the scheduled audit is run (if the frequency is "MONTHLY").
If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
dayOfWeek?
Type:
string
(optional)
The day of the week on which the scheduled audit is run (if the frequency is "WEEKLY" or "BIWEEKLY").
scheduledAuditName?
Type:
string
(optional)
The name of the scheduled audit.
tags?
Type:
Cfn[]
(optional)
Metadata that can be used to manage the scheduled audit.

.NET
Java
Python
TypeScript