Class CfnAccountAuditConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountAuditConfigurationMixinProps>
- Enclosing interface:
CfnAccountAuditConfigurationMixinProps
CfnAccountAuditConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAccountAuditConfigurationMixinProps.getAccountId()auditCheckConfigurations(CfnAccountAuditConfigurationPropsMixin.AuditCheckConfigurationsProperty auditCheckConfigurations) Sets the value ofCfnAccountAuditConfigurationMixinProps.getAuditCheckConfigurations()auditCheckConfigurations(IResolvable auditCheckConfigurations) Sets the value ofCfnAccountAuditConfigurationMixinProps.getAuditCheckConfigurations()auditNotificationTargetConfigurations(CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations) auditNotificationTargetConfigurations(IResolvable auditNotificationTargetConfigurations) build()Builds the configured instance.Sets the value ofCfnAccountAuditConfigurationMixinProps.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Stable) public CfnAccountAuditConfigurationMixinProps.Builder accountId(String accountId) Sets the value ofCfnAccountAuditConfigurationMixinProps.getAccountId()- Parameters:
accountId- The ID of the account. You can use the expression!Sub "${AWS::AccountId}"to use your account ID.- Returns:
this
-
auditCheckConfigurations
@Stability(Stable) public CfnAccountAuditConfigurationMixinProps.Builder auditCheckConfigurations(IResolvable auditCheckConfigurations) Sets the value ofCfnAccountAuditConfigurationMixinProps.getAuditCheckConfigurations()- Parameters:
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 theEnabled: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
- Returns:
this
-
auditCheckConfigurations
@Stability(Stable) public CfnAccountAuditConfigurationMixinProps.Builder auditCheckConfigurations(CfnAccountAuditConfigurationPropsMixin.AuditCheckConfigurationsProperty auditCheckConfigurations) Sets the value ofCfnAccountAuditConfigurationMixinProps.getAuditCheckConfigurations()- Parameters:
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 theEnabled: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
- Returns:
this
-
auditNotificationTargetConfigurations
@Stability(Stable) public CfnAccountAuditConfigurationMixinProps.Builder auditNotificationTargetConfigurations(IResolvable auditNotificationTargetConfigurations) - Parameters:
auditNotificationTargetConfigurations- Information about the targets to which audit notifications are sent.- Returns:
this
-
auditNotificationTargetConfigurations
@Stability(Stable) public CfnAccountAuditConfigurationMixinProps.Builder auditNotificationTargetConfigurations(CfnAccountAuditConfigurationPropsMixin.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations) - Parameters:
auditNotificationTargetConfigurations- Information about the targets to which audit notifications are sent.- Returns:
this
-
roleArn
Sets the value ofCfnAccountAuditConfigurationMixinProps.getRoleArn()- 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAccountAuditConfigurationMixinProps>- Returns:
- a new instance of
CfnAccountAuditConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-