@Stability(value=Stable) public static final class CfnAccountAuditConfigurationProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAccountAuditConfigurationProps>
CfnAccountAuditConfigurationProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAccountAuditConfigurationProps.Builder accountId(String accountId)
CfnAccountAuditConfigurationProps.getAccountId()accountId - The ID of the account. This parameter is required.
You can use the expression !Sub "${AWS::AccountId}" to use your account ID.this@Stability(value=Stable) public CfnAccountAuditConfigurationProps.Builder auditCheckConfigurations(CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty auditCheckConfigurations)
CfnAccountAuditConfigurationProps.getAuditCheckConfigurations()auditCheckConfigurations - Specifies which audit checks are enabled and disabled for this account. This parameter is required.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. To disable a check, set the value of the Enabled: key to false .
If an enabled check is removed from the template, it will also be disabled.
You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check.
For more information on avialbe auidt checks see AWS::IoT::AccountAuditConfiguration AuditCheckConfigurations
this@Stability(value=Stable) public CfnAccountAuditConfigurationProps.Builder auditCheckConfigurations(IResolvable auditCheckConfigurations)
CfnAccountAuditConfigurationProps.getAuditCheckConfigurations()auditCheckConfigurations - Specifies which audit checks are enabled and disabled for this account. This parameter is required.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted. To disable a check, set the value of the Enabled: key to false .
If an enabled check is removed from the template, it will also be disabled.
You can't disable a check if it's used by any scheduled audit. You must delete the check from the scheduled audit or delete the scheduled audit itself to disable the check.
For more information on avialbe auidt checks see AWS::IoT::AccountAuditConfiguration AuditCheckConfigurations
this@Stability(value=Stable) public CfnAccountAuditConfigurationProps.Builder roleArn(String roleArn)
CfnAccountAuditConfigurationProps.getRoleArn()roleArn - The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit. This parameter is required.this@Stability(value=Stable) public CfnAccountAuditConfigurationProps.Builder auditNotificationTargetConfigurations(CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations)
auditNotificationTargetConfigurations - Information about the targets to which audit notifications are sent.this@Stability(value=Stable) public CfnAccountAuditConfigurationProps.Builder auditNotificationTargetConfigurations(IResolvable auditNotificationTargetConfigurations)
auditNotificationTargetConfigurations - Information about the targets to which audit notifications are sent.this@Stability(value=Stable) public CfnAccountAuditConfigurationProps build()
build in interface software.amazon.jsii.Builder<CfnAccountAuditConfigurationProps>CfnAccountAuditConfigurationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.