
com.pulumi.awsnative.verifiedpermissions.kotlin.outputs.PolicyStoreValidationSettings.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.verifiedpermissions.kotlin.outputs
import com.pulumi.awsnative.verifiedpermissions.kotlin.enums.PolicyStoreValidationMode
import kotlin.Suppress
/**
*
* @property mode The validation mode currently configured for this policy store. The valid values are:
* - *OFF* – Neither Verified Permissions nor Cedar perform any validation on policies. No validation errors are reported by either service.
* - *STRICT* – Requires a schema to be present in the policy store. Cedar performs validation on all submitted new or updated static policies and policy templates. Any that fail validation are rejected and Cedar doesn't store them in the policy store.
* > If `Mode=STRICT` and the policy store doesn't contain a schema, Verified Permissions rejects all static policies and policy templates because there is no schema to validate against.
* >
* > To submit a static policy or policy template without a schema, you must turn off validation.
*/
public data class PolicyStoreValidationSettings(
public val mode: PolicyStoreValidationMode,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.verifiedpermissions.outputs.PolicyStoreValidationSettings): PolicyStoreValidationSettings = PolicyStoreValidationSettings(
mode = javaType.mode().let({ args0 ->
com.pulumi.awsnative.verifiedpermissions.kotlin.enums.PolicyStoreValidationMode.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy