
com.pulumi.awsnative.iot.kotlin.outputs.GetAccountAuditConfigurationResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property 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 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-accountauditconfiguration-auditcheckconfigurations.html)
* @property auditNotificationTargetConfigurations Information about the targets to which audit notifications are sent.
* @property roleArn The 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.
*/
public data class GetAccountAuditConfigurationResult(
public val auditCheckConfigurations: AccountAuditConfigurationAuditCheckConfigurations? = null,
public val auditNotificationTargetConfigurations: AccountAuditConfigurationAuditNotificationTargetConfigurations? = null,
public val roleArn: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.GetAccountAuditConfigurationResult): GetAccountAuditConfigurationResult = GetAccountAuditConfigurationResult(
auditCheckConfigurations = javaType.auditCheckConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iot.kotlin.outputs.AccountAuditConfigurationAuditCheckConfigurations.Companion.toKotlin(args0)
})
}).orElse(null),
auditNotificationTargetConfigurations = javaType.auditNotificationTargetConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iot.kotlin.outputs.AccountAuditConfigurationAuditNotificationTargetConfigurations.Companion.toKotlin(args0)
})
}).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy