![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.securityhub.kotlin.outputs.GetPolicyAssociationResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.securityhub.kotlin.outputs
import com.pulumi.awsnative.securityhub.kotlin.enums.PolicyAssociationAssociationStatus
import com.pulumi.awsnative.securityhub.kotlin.enums.PolicyAssociationAssociationType
import kotlin.String
import kotlin.Suppress
/**
*
* @property associationIdentifier A unique identifier to indicates if the target has an association
* @property associationStatus The current status of the association between the specified target and the configuration
* @property associationStatusMessage An explanation for a FAILED value for AssociationStatus
* @property associationType Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent
* @property configurationPolicyId The universally unique identifier (UUID) of the configuration policy or a value of SELF_MANAGED_SECURITY_HUB for a self-managed configuration
* @property updatedAt The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated
*/
public data class GetPolicyAssociationResult(
public val associationIdentifier: String? = null,
public val associationStatus: PolicyAssociationAssociationStatus? = null,
public val associationStatusMessage: String? = null,
public val associationType: PolicyAssociationAssociationType? = null,
public val configurationPolicyId: String? = null,
public val updatedAt: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.GetPolicyAssociationResult): GetPolicyAssociationResult = GetPolicyAssociationResult(
associationIdentifier = javaType.associationIdentifier().map({ args0 -> args0 }).orElse(null),
associationStatus = javaType.associationStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.enums.PolicyAssociationAssociationStatus.Companion.toKotlin(args0)
})
}).orElse(null),
associationStatusMessage = javaType.associationStatusMessage().map({ args0 -> args0 }).orElse(null),
associationType = javaType.associationType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.enums.PolicyAssociationAssociationType.Companion.toKotlin(args0)
})
}).orElse(null),
configurationPolicyId = javaType.configurationPolicyId().map({ args0 -> args0 }).orElse(null),
updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy