DayOfWeek
- class aws_cdk.aws_iot_alpha.DayOfWeek(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
(experimental) The day of the week on which the scheduled audit takes place.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# config: iot.AccountAuditConfiguration # Daily audit daily_audit = iot.ScheduledAudit(self, "DailyAudit", account_audit_configuration=config, frequency=iot.Frequency.DAILY, audit_checks=[iot.AuditCheck.AUTHENTICATED_COGNITO_ROLE_OVERLY_PERMISSIVE_CHECK ] ) # Weekly audit weekly_audit = iot.ScheduledAudit(self, "WeeklyAudit", account_audit_configuration=config, frequency=iot.Frequency.WEEKLY, day_of_week=iot.DayOfWeek.SUNDAY, audit_checks=[iot.AuditCheck.CA_CERTIFICATE_EXPIRING_CHECK ] ) # Monthly audit monthly_audit = iot.ScheduledAudit(self, "MonthlyAudit", account_audit_configuration=config, frequency=iot.Frequency.MONTHLY, day_of_month=iot.DayOfMonth.of(1), audit_checks=[iot.AuditCheck.CA_CERTIFICATE_KEY_QUALITY_CHECK ] )
Attributes
- FRIDAY
(experimental) Friday.
- Stability:
experimental
- MONDAY
(experimental) Monday.
- Stability:
experimental
- SATURDAY
(experimental) Saturday.
- Stability:
experimental
- SUNDAY
(experimental) Sunday.
- Stability:
experimental
- THURSDAY
(experimental) Thursday.
- Stability:
experimental
- TUESDAY
(experimental) Tuesday.
- Stability:
experimental
- WEDNESDAY
(experimental) Wednesday.
- Stability:
experimental