Class CfnAccountAuditConfigurationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountAuditConfigurationPropsMixin>
- Enclosing class:
CfnAccountAuditConfigurationPropsMixin
CfnAccountAuditConfigurationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the account.auditCheckConfigurations(CfnAccountAuditConfigurationPropsMixin.AuditCheckConfigurationsProperty auditCheckConfigurations) Specifies which audit checks are enabled and disabled for this account.auditCheckConfigurations(IResolvable auditCheckConfigurations) Specifies which audit checks are enabled and disabled for this account.auditNotificationTargetConfigurations(CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.auditNotificationTargetConfigurations(IResolvable auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.build()create()create(CfnPropertyMixinOptions options) 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 CfnAccountAuditConfigurationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAccountAuditConfigurationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAccountAuditConfigurationPropsMixin.Builder.
-
accountId
@Stability(Stable) public CfnAccountAuditConfigurationPropsMixin.Builder accountId(String 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 CfnAccountAuditConfigurationPropsMixin.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 available audit 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 CfnAccountAuditConfigurationPropsMixin.Builder auditCheckConfigurations(CfnAccountAuditConfigurationPropsMixin.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 available audit 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:
-
auditNotificationTargetConfigurations
@Stability(Stable) public CfnAccountAuditConfigurationPropsMixin.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 CfnAccountAuditConfigurationPropsMixin.Builder auditNotificationTargetConfigurations(CfnAccountAuditConfigurationPropsMixin.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:
-
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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccountAuditConfigurationPropsMixin>- Returns:
- a newly built instance of
CfnAccountAuditConfigurationPropsMixin.
-