@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.848Z") @Stability(value=Stable) public interface CfnAccountAuditConfigurationProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnAccountAuditConfigurationProps cfnAccountAuditConfigurationProps = CfnAccountAuditConfigurationProps.builder()
.accountId("accountId")
.auditCheckConfigurations(AuditCheckConfigurationsProperty.builder()
.authenticatedCognitoRoleOverlyPermissiveCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.caCertificateExpiringCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.caCertificateKeyQualityCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.conflictingClientIdsCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.deviceCertificateExpiringCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.deviceCertificateKeyQualityCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.deviceCertificateSharedCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.iotPolicyOverlyPermissiveCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.iotRoleAliasAllowsAccessToUnusedServicesCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.iotRoleAliasOverlyPermissiveCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.loggingDisabledCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.revokedCaCertificateStillActiveCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.revokedDeviceCertificateStillActiveCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.unauthenticatedCognitoRoleOverlyPermissiveCheck(AuditCheckConfigurationProperty.builder()
.enabled(false)
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.auditNotificationTargetConfigurations(AuditNotificationTargetConfigurationsProperty.builder()
.sns(AuditNotificationTargetProperty.builder()
.enabled(false)
.roleArn("roleArn")
.targetArn("targetArn")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAccountAuditConfigurationProps.Builder
A builder for
CfnAccountAuditConfigurationProps |
static class |
CfnAccountAuditConfigurationProps.Jsii$Proxy
An implementation for
CfnAccountAuditConfigurationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAccountAuditConfigurationProps.Builder |
builder() |
String |
getAccountId()
The ID of the account.
|
Object |
getAuditCheckConfigurations()
Specifies which audit checks are enabled and disabled for this account.
|
default Object |
getAuditNotificationTargetConfigurations()
Information about the targets to which audit notifications are sent.
|
String |
getRoleArn()
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) @NotNull String getAccountId()
You can use the expression !Sub "${AWS::AccountId}" to use your account ID.
@Stability(value=Stable) @NotNull Object getAuditCheckConfigurations()
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
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default Object getAuditNotificationTargetConfigurations()
@Stability(value=Stable) static CfnAccountAuditConfigurationProps.Builder builder()
Copyright © 2022. All rights reserved.