Class CfnScheduledAuditMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnScheduledAuditMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledAuditMixinProps>
- Enclosing interface:
CfnScheduledAuditMixinProps
@Stability(Stable)
public static final class CfnScheduledAuditMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledAuditMixinProps>
A builder for
CfnScheduledAuditMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dayOfMonth(String dayOfMonth) Sets the value ofCfnScheduledAuditMixinProps.getDayOfMonth()Sets the value ofCfnScheduledAuditMixinProps.getDayOfWeek()Sets the value ofCfnScheduledAuditMixinProps.getFrequency()scheduledAuditName(String scheduledAuditName) Sets the value ofCfnScheduledAuditMixinProps.getScheduledAuditName()Sets the value ofCfnScheduledAuditMixinProps.getTags()targetCheckNames(List<String> targetCheckNames) Sets the value ofCfnScheduledAuditMixinProps.getTargetCheckNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dayOfMonth
Sets the value ofCfnScheduledAuditMixinProps.getDayOfMonth()- Parameters:
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.- Returns:
this
-
dayOfWeek
Sets the value ofCfnScheduledAuditMixinProps.getDayOfWeek()- Parameters:
dayOfWeek- The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY").- Returns:
this
-
frequency
Sets the value ofCfnScheduledAuditMixinProps.getFrequency()- Parameters:
frequency- How often the scheduled audit occurs.- Returns:
this
-
scheduledAuditName
@Stability(Stable) public CfnScheduledAuditMixinProps.Builder scheduledAuditName(String scheduledAuditName) Sets the value ofCfnScheduledAuditMixinProps.getScheduledAuditName()- Parameters:
scheduledAuditName- The name of the scheduled audit.- Returns:
this
-
tags
Sets the value ofCfnScheduledAuditMixinProps.getTags()- Parameters:
tags- Metadata that can be used to manage the scheduled audit.- Returns:
this
-
targetCheckNames
@Stability(Stable) public CfnScheduledAuditMixinProps.Builder targetCheckNames(List<String> targetCheckNames) Sets the value ofCfnScheduledAuditMixinProps.getTargetCheckNames()- Parameters:
targetCheckNames- Which checks are performed during the scheduled audit. Checks must be enabled for your account. (UseDescribeAccountAuditConfigurationto 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
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledAuditMixinProps>- Returns:
- a new instance of
CfnScheduledAuditMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-