Package com.pulumi.automation.events
Class PolicyEvent
java.lang.Object
com.pulumi.automation.events.PolicyEvent
PolicyEvent is emitted whenever there is Policy violation.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PolicyEvent
-
-
Method Details
-
resourceUrn
Gets the resource URN.- Returns:
- the resource URN, may be null
-
message
Gets the message.- Returns:
- the message
-
color
Gets the color.- Returns:
- the color
-
policyName
Gets the policy name.- Returns:
- the policy name
-
policyPackName
Gets the policy pack name.- Returns:
- the policy pack name
-
policyPackVersion
Gets the policy pack version.- Returns:
- the policy pack version
-
policyPackVersionTag
Gets the policy pack version tag.- Returns:
- the policy pack version tag
-
enforcementLevel
Gets the enforcement level, one of "warning" or "mandatory".- Returns:
- the enforcement level
-