@Stability(value=Stable) public static final class CfnScheduledAudit.Builder extends Object implements software.amazon.jsii.Builder<CfnScheduledAudit>
CfnScheduledAudit.| Modifier and Type | Method and Description |
|---|---|
CfnScheduledAudit |
build() |
static CfnScheduledAudit.Builder |
create(software.constructs.Construct scope,
String id) |
CfnScheduledAudit.Builder |
dayOfMonth(String dayOfMonth)
The day of the month on which the scheduled audit is run (if the `frequency` is "MONTHLY").
|
CfnScheduledAudit.Builder |
dayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit is run (if the `frequency` is "WEEKLY" or "BIWEEKLY").
|
CfnScheduledAudit.Builder |
frequency(String frequency)
How often the scheduled audit occurs.
|
CfnScheduledAudit.Builder |
scheduledAuditName(String scheduledAuditName)
The name of the scheduled audit.
|
CfnScheduledAudit.Builder |
tags(List<? extends CfnTag> tags)
Metadata that can be used to manage the scheduled audit.
|
CfnScheduledAudit.Builder |
targetCheckNames(List<String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
@Stability(value=Stable) public static CfnScheduledAudit.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnScheduledAudit.Builder.@Stability(value=Stable) public CfnScheduledAudit.Builder frequency(String frequency)
frequency - How often the scheduled audit occurs. This parameter is required.this@Stability(value=Stable) public CfnScheduledAudit.Builder targetCheckNames(List<String> targetCheckNames)
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_CHECKtargetCheckNames - Which checks are performed during the scheduled audit. This parameter is required.this@Stability(value=Stable) public CfnScheduledAudit.Builder dayOfMonth(String dayOfMonth)
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.
dayOfMonth - The day of the month on which the scheduled audit is run (if the `frequency` is "MONTHLY"). This parameter is required.this@Stability(value=Stable) public CfnScheduledAudit.Builder dayOfWeek(String dayOfWeek)
dayOfWeek - The day of the week on which the scheduled audit is run (if the `frequency` is "WEEKLY" or "BIWEEKLY"). This parameter is required.this@Stability(value=Stable) public CfnScheduledAudit.Builder scheduledAuditName(String scheduledAuditName)
scheduledAuditName - The name of the scheduled audit. This parameter is required.this@Stability(value=Stable) public CfnScheduledAudit.Builder tags(List<? extends CfnTag> tags)
tags - Metadata that can be used to manage the scheduled audit. This parameter is required.this@Stability(value=Stable) public CfnScheduledAudit build()
build in interface software.amazon.jsii.Builder<CfnScheduledAudit>Copyright © 2022. All rights reserved.