scheduled_audit
Gets an individual scheduled_audit
resource
Overview
Name | scheduled_audit |
Type | Resource |
Description | scheduled_audit |
Id | awscc.iot.scheduled_audit |
Fields
Name | Datatype | Description |
---|---|---|
scheduled_audit_name | string | The name you want to give to the scheduled audit. |
frequency | string | How often the scheduled audit takes place. Can be one of DAILY, WEEKLY, BIWEEKLY, or MONTHLY. |
day_of_month | string | The day of the month on which the scheduled audit takes place. Can be 1 through 31 or LAST. This field is required if the frequency parameter is set to MONTHLY. |
day_of_week | string | The day of the week on which the scheduled audit takes place. Can be one of SUN, MON, TUE,WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY. |
target_check_names | array | Which checks are performed during the scheduled audit. Checks must be enabled for your account. |
scheduled_audit_arn | string | The ARN (Amazon resource name) of the scheduled audit. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
scheduled_audit_name,
frequency,
day_of_month,
day_of_week,
target_check_names,
scheduled_audit_arn,
tags
FROM awscc.iot.scheduled_audit
WHERE data__Identifier = '<ScheduledAuditName>';
Permissions
To operate on the scheduled_audit
resource, the following permissions are required:
Read
iot:DescribeScheduledAudit,
iot:ListTagsForResource
Update
iot:UpdateScheduledAudit,
iot:ListTagsForResource,
iot:UntagResource,
iot:TagResource
Delete
iot:DescribeScheduledAudit,
iot:DeleteScheduledAudit