import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class AuditCheckConfiguration { Enabled ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AuditNotificationTargetConfigurations { Sns ? : AuditNotificationTarget ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AuditNotificationTarget { TargetArn ? : Value < string > ; RoleArn ? : Value < string > ; Enabled ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AuditCheckConfigurations { AuthenticatedCognitoRoleOverlyPermissiveCheck ? : AuditCheckConfiguration ; CaCertificateExpiringCheck ? : AuditCheckConfiguration ; CaCertificateKeyQualityCheck ? : AuditCheckConfiguration ; ConflictingClientIdsCheck ? : AuditCheckConfiguration ; DeviceCertificateExpiringCheck ? : AuditCheckConfiguration ; DeviceCertificateKeyQualityCheck ? : AuditCheckConfiguration ; DeviceCertificateSharedCheck ? : AuditCheckConfiguration ; IotPolicyOverlyPermissiveCheck ? : AuditCheckConfiguration ; IotRoleAliasAllowsAccessToUnusedServicesCheck ? : AuditCheckConfiguration ; IotRoleAliasOverlyPermissiveCheck ? : AuditCheckConfiguration ; LoggingDisabledCheck ? : AuditCheckConfiguration ; RevokedCaCertificateStillActiveCheck ? : AuditCheckConfiguration ; RevokedDeviceCertificateStillActiveCheck ? : AuditCheckConfiguration ; UnauthenticatedCognitoRoleOverlyPermissiveCheck ? : AuditCheckConfiguration ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AccountAuditConfigurationProperties { AccountId : Value < string > ; AuditCheckConfigurations : AuditCheckConfigurations ; AuditNotificationTargetConfigurations ? : AuditNotificationTargetConfigurations ; RoleArn : Value < string > ; } export default class AccountAuditConfiguration extends ResourceBase < AccountAuditConfigurationProperties > { static AuditCheckConfiguration = AuditCheckConfiguration ; static AuditNotificationTargetConfigurations = AuditNotificationTargetConfigurations ; static AuditNotificationTarget = AuditNotificationTarget ; static AuditCheckConfigurations = AuditCheckConfigurations ; constructor ( properties ) { super ( 'AWS::IoT::AccountAuditConfiguration' , properties ) ; } }