Class PolicyEvent

java.lang.Object
com.pulumi.automation.events.PolicyEvent

public class PolicyEvent extends Object
PolicyEvent is emitted whenever there is Policy violation.
  • Constructor Details

  • Method Details

    • resourceUrn

      @Nullable public String resourceUrn()
      Gets the resource URN.
      Returns:
      the resource URN, may be null
    • message

      public String message()
      Gets the message.
      Returns:
      the message
    • color

      public String color()
      Gets the color.
      Returns:
      the color
    • policyName

      public String policyName()
      Gets the policy name.
      Returns:
      the policy name
    • policyPackName

      public String policyPackName()
      Gets the policy pack name.
      Returns:
      the policy pack name
    • policyPackVersion

      public String policyPackVersion()
      Gets the policy pack version.
      Returns:
      the policy pack version
    • policyPackVersionTag

      public String policyPackVersionTag()
      Gets the policy pack version tag.
      Returns:
      the policy pack version tag
    • enforcementLevel

      public String enforcementLevel()
      Gets the enforcement level, one of "warning" or "mandatory".
      Returns:
      the enforcement level