@Stability(value=Stable) public static final class CfnScheduledAuditProps.Builder extends Object implements software.amazon.jsii.Builder<CfnScheduledAuditProps>
CfnScheduledAuditProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnScheduledAuditProps |
build()
Builds the configured instance.
|
CfnScheduledAuditProps.Builder |
dayOfMonth(String dayOfMonth)
Sets the value of
CfnScheduledAuditProps.getDayOfMonth() |
CfnScheduledAuditProps.Builder |
dayOfWeek(String dayOfWeek)
Sets the value of
CfnScheduledAuditProps.getDayOfWeek() |
CfnScheduledAuditProps.Builder |
frequency(String frequency)
Sets the value of
CfnScheduledAuditProps.getFrequency() |
CfnScheduledAuditProps.Builder |
scheduledAuditName(String scheduledAuditName)
Sets the value of
CfnScheduledAuditProps.getScheduledAuditName() |
CfnScheduledAuditProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnScheduledAuditProps.getTags() |
CfnScheduledAuditProps.Builder |
targetCheckNames(List<String> targetCheckNames)
Sets the value of
CfnScheduledAuditProps.getTargetCheckNames() |
@Stability(value=Stable) public CfnScheduledAuditProps.Builder frequency(String frequency)
CfnScheduledAuditProps.getFrequency()frequency - How often the scheduled audit occurs. This parameter is required.this@Stability(value=Stable) public CfnScheduledAuditProps.Builder targetCheckNames(List<String> targetCheckNames)
CfnScheduledAuditProps.getTargetCheckNames()targetCheckNames - Which checks are performed during the scheduled audit. This parameter is required.
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_CHECKthis@Stability(value=Stable) public CfnScheduledAuditProps.Builder dayOfMonth(String dayOfMonth)
CfnScheduledAuditProps.getDayOfMonth()dayOfMonth - The day of the month on which the scheduled audit is run (if the `frequency` is "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.this@Stability(value=Stable) public CfnScheduledAuditProps.Builder dayOfWeek(String dayOfWeek)
CfnScheduledAuditProps.getDayOfWeek()dayOfWeek - The day of the week on which the scheduled audit is run (if the `frequency` is "WEEKLY" or "BIWEEKLY").this@Stability(value=Stable) public CfnScheduledAuditProps.Builder scheduledAuditName(String scheduledAuditName)
CfnScheduledAuditProps.getScheduledAuditName()scheduledAuditName - The name of the scheduled audit.this@Stability(value=Stable) public CfnScheduledAuditProps.Builder tags(List<? extends CfnTag> tags)
CfnScheduledAuditProps.getTags()tags - Metadata that can be used to manage the scheduled audit.this@Stability(value=Stable) public CfnScheduledAuditProps build()
build in interface software.amazon.jsii.Builder<CfnScheduledAuditProps>CfnScheduledAuditPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.