interface CfnAccountAuditConfigurationMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnAccountAuditConfigurationMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnAccountAuditConfigurationMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnAccountAuditConfigurationMixinProps |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnAccountAuditConfigurationMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnAccountAuditConfigurationMixinProps |
Properties for CfnAccountAuditConfigurationPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const cfnAccountAuditConfigurationMixinProps: iot_mixins.CfnAccountAuditConfigurationMixinProps = {
accountId: 'accountId',
auditCheckConfigurations: {
authenticatedCognitoRoleOverlyPermissiveCheck: {
enabled: false,
},
caCertificateExpiringCheck: {
enabled: false,
},
caCertificateKeyQualityCheck: {
enabled: false,
},
conflictingClientIdsCheck: {
enabled: false,
},
deviceCertificateAgeCheck: {
configuration: {
certAgeThresholdInDays: 'certAgeThresholdInDays',
},
enabled: false,
},
deviceCertificateExpiringCheck: {
enabled: false,
},
deviceCertificateKeyQualityCheck: {
enabled: false,
},
deviceCertificateSharedCheck: {
enabled: false,
},
intermediateCaRevokedForActiveDeviceCertificatesCheck: {
enabled: false,
},
iotPolicyOverlyPermissiveCheck: {
enabled: false,
},
ioTPolicyPotentialMisConfigurationCheck: {
enabled: false,
},
iotRoleAliasAllowsAccessToUnusedServicesCheck: {
enabled: false,
},
iotRoleAliasOverlyPermissiveCheck: {
enabled: false,
},
loggingDisabledCheck: {
enabled: false,
},
revokedCaCertificateStillActiveCheck: {
enabled: false,
},
revokedDeviceCertificateStillActiveCheck: {
enabled: false,
},
unauthenticatedCognitoRoleOverlyPermissiveCheck: {
enabled: false,
},
},
auditNotificationTargetConfigurations: {
sns: {
enabled: false,
roleArn: 'roleArn',
targetArn: 'targetArn',
},
},
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string | The ID of the account. |
| audit | IResolvable | Audit | Specifies which audit checks are enabled and disabled for this account. |
| audit | IResolvable | Audit | Information about the targets to which audit notifications are sent. |
| role | string | 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. |
accountId?
Type:
string
(optional)
The ID of the account.
You can use the expression !Sub "${AWS::AccountId}" to use your account ID.
auditCheckConfigurations?
Type:
IResolvable | Audit
(optional)
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 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 available audit checks see AWS::IoT::AccountAuditConfiguration AuditCheckConfigurations
auditNotificationTargetConfigurations?
Type:
IResolvable | Audit
(optional)
Information about the targets to which audit notifications are sent.
roleArn?
Type:
string
(optional)
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.

.NET
Go
Java
Python
TypeScript