@Stability(value=Stable) public static final class CfnAccountAuditConfiguration.Builder extends Object implements software.amazon.jsii.Builder<CfnAccountAuditConfiguration>
CfnAccountAuditConfiguration
.Modifier and Type | Method and Description |
---|---|
CfnAccountAuditConfiguration.Builder |
accountId(String accountId)
The ID of the account.
|
CfnAccountAuditConfiguration.Builder |
auditCheckConfigurations(CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
|
CfnAccountAuditConfiguration.Builder |
auditCheckConfigurations(IResolvable auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
|
CfnAccountAuditConfiguration.Builder |
auditNotificationTargetConfigurations(CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
|
CfnAccountAuditConfiguration.Builder |
auditNotificationTargetConfigurations(IResolvable auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
|
CfnAccountAuditConfiguration |
build() |
static CfnAccountAuditConfiguration.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAccountAuditConfiguration.Builder |
roleArn(String 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.
|
@Stability(value=Stable) public static CfnAccountAuditConfiguration.Builder create(software.constructs.Construct scope, String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnAccountAuditConfiguration.AuditCheckConfigurationProperty.Builder
.@Stability(value=Stable) public CfnAccountAuditConfiguration.Builder accountId(String accountId)
You can use the expression !Sub "${AWS::AccountId}"
to use your account ID.
accountId
- The ID of the account. This parameter is required.this
@Stability(value=Stable) public CfnAccountAuditConfiguration.Builder auditCheckConfigurations(CfnAccountAuditConfiguration.AuditCheckConfigurationsProperty auditCheckConfigurations)
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
auditCheckConfigurations
- Specifies which audit checks are enabled and disabled for this account. This parameter is required.this
@Stability(value=Stable) public CfnAccountAuditConfiguration.Builder auditCheckConfigurations(IResolvable auditCheckConfigurations)
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
auditCheckConfigurations
- Specifies which audit checks are enabled and disabled for this account. This parameter is required.this
@Stability(value=Stable) public CfnAccountAuditConfiguration.Builder roleArn(String roleArn)
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 CfnAccountAuditConfiguration.Builder auditNotificationTargetConfigurations(CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurations)
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent. This parameter is required.this
@Stability(value=Stable) public CfnAccountAuditConfiguration.Builder auditNotificationTargetConfigurations(IResolvable auditNotificationTargetConfigurations)
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent. This parameter is required.this
@Stability(value=Stable) public CfnAccountAuditConfiguration build()
build
in interface software.amazon.jsii.Builder<CfnAccountAuditConfiguration>
Copyright © 2022. All rights reserved.