Skip to content

/AWS1/CL_IOT=>CREATESCHEDULEDAUDIT()

About CreateScheduledAudit

Creates a scheduled audit that is run at a specified time interval.

Requires permission to access the CreateScheduledAudit action.

Method Signature

IMPORTING

Required arguments:

IV_FREQUENCY TYPE /AWS1/IOTAUDITFREQUENCY /AWS1/IOTAUDITFREQUENCY

How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY. The start time of each audit is determined by the system.

IT_TARGETCHECKNAMES TYPE /AWS1/CL_IOTTGTAUDCHECKNAMES_W=>TT_TARGETAUDITCHECKNAMES TT_TARGETAUDITCHECKNAMES

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.)

IV_SCHEDULEDAUDITNAME TYPE /AWS1/IOTSCHEDULEDAUDITNAME /AWS1/IOTSCHEDULEDAUDITNAME

The name you want to give to the scheduled audit. (Max. 128 chars)

Optional arguments:

IV_DAYOFMONTH TYPE /AWS1/IOTDAYOFMONTH /AWS1/IOTDAYOFMONTH

The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to MONTHLY. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on the LAST day of the month.

IV_DAYOFWEEK TYPE /AWS1/IOTDAYOFWEEK /AWS1/IOTDAYOFWEEK

The day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.

IT_TAGS TYPE /AWS1/CL_IOTTAG=>TT_TAGLIST TT_TAGLIST

Metadata that can be used to manage the scheduled audit.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTCRESCHDDAUDITRSP /AWS1/CL_IOTCRESCHDDAUDITRSP