Class CfnScheduledAudit.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnScheduledAudit.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledAudit>
- Enclosing class:
CfnScheduledAudit
@Stability(Stable)
public static final class CfnScheduledAudit.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledAudit>
A fluent builder for
CfnScheduledAudit.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnScheduledAudit.BuilderdayOfMonth(String dayOfMonth) The day of the month on which the scheduled audit is run (if thefrequencyis "MONTHLY").The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY").How often the scheduled audit occurs.scheduledAuditName(String scheduledAuditName) The name of the scheduled audit.Metadata that can be used to manage the scheduled audit.targetCheckNames(List<String> targetCheckNames) Which checks are performed during the scheduled audit.
-
Method Details
-
create
@Stability(Stable) public static CfnScheduledAudit.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnScheduledAudit.Builder.
-
frequency
How often the scheduled audit occurs.- Parameters:
frequency- How often the scheduled audit occurs. This parameter is required.- Returns:
this- See Also:
-
targetCheckNames
Which checks are performed during the scheduled audit.Checks must be enabled for your account. (Use
DescribeAccountAuditConfigurationto see the list of all checks, including those that are enabled or useUpdateAccountAuditConfigurationto select which checks are enabled.)The following checks are currently available:
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
- Parameters:
targetCheckNames- Which checks are performed during the scheduled audit. This parameter is required.- Returns:
this- See Also:
-
dayOfMonth
The day of the month on which the scheduled audit is run (if thefrequencyis "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.
- Parameters:
dayOfMonth- The day of the month on which the scheduled audit is run (if thefrequencyis "MONTHLY"). This parameter is required.- Returns:
this- See Also:
-
dayOfWeek
The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY").- Parameters:
dayOfWeek- The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY"). This parameter is required.- Returns:
this- See Also:
-
scheduledAuditName
The name of the scheduled audit.- Parameters:
scheduledAuditName- The name of the scheduled audit. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata that can be used to manage the scheduled audit.- Parameters:
tags- Metadata that can be used to manage the scheduled audit. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledAudit>- Returns:
- a newly built instance of
CfnScheduledAudit.
-