NonComplianceMessageArgs

data class NonComplianceMessageArgs(val message: Output<String>, val policyDefinitionReferenceId: Output<String>? = null) : ConvertibleToJava<NonComplianceMessageArgs>

A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.

Constructors

Link copied to clipboard
constructor(message: Output<String>, policyDefinitionReferenceId: Output<String>? = null)

Properties

Link copied to clipboard
val message: Output<String>

A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.

Link copied to clipboard
val policyDefinitionReferenceId: Output<String>? = null

The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.

Functions

Link copied to clipboard
open override fun toJava(): NonComplianceMessageArgs