Class CfnAccountAuditConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountAuditConfiguration>
- Enclosing class:
CfnAccountAuditConfiguration
CfnAccountAuditConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the account.auditCheckConfigurations
(IResolvable auditCheckConfigurations) Specifies which audit checks are enabled and disabled for this account.auditCheckConfigurations
(CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty auditCheckConfigurations) Specifies which audit checks are enabled and disabled for this account.auditNotificationTargetConfigurations
(IResolvable auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.auditNotificationTargetConfigurations
(CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.build()
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.
-
Method Details
-
create
@Stability(Stable) public static CfnAccountAuditConfiguration.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
CfnAccountAuditConfiguration.Builder
.
-
accountId
The ID of the account.You can use the expression
!Sub "${AWS::AccountId}"
to use your account ID.- Parameters:
accountId
- The ID of the account. This parameter is required.- Returns:
this
- See Also:
-
auditCheckConfigurations
@Stability(Stable) public CfnAccountAuditConfiguration.Builder auditCheckConfigurations(IResolvable auditCheckConfigurations) Specifies which audit checks are enabled and disabled for this account.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 tofalse
.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
- Parameters:
auditCheckConfigurations
- Specifies which audit checks are enabled and disabled for this account. This parameter is required.- Returns:
this
- See Also:
-
auditCheckConfigurations
@Stability(Stable) public CfnAccountAuditConfiguration.Builder auditCheckConfigurations(CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty auditCheckConfigurations) Specifies which audit checks are enabled and disabled for this account.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 tofalse
.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
- Parameters:
auditCheckConfigurations
- Specifies which audit checks are enabled and disabled for this account. This parameter is required.- Returns:
this
- See Also:
-
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.- Parameters:
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.- Returns:
this
- See Also:
-
auditNotificationTargetConfigurations
@Stability(Stable) public CfnAccountAuditConfiguration.Builder auditNotificationTargetConfigurations(IResolvable auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.- Parameters:
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent. This parameter is required.- Returns:
this
- See Also:
-
auditNotificationTargetConfigurations
@Stability(Stable) public CfnAccountAuditConfiguration.Builder auditNotificationTargetConfigurations(CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.- Parameters:
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccountAuditConfiguration>
- Returns:
- a newly built instance of
CfnAccountAuditConfiguration
.
-