Class PolicySettingsArgs


  • public final class PolicySettingsArgs
    extends com.pulumi.resources.ResourceArgs
    Defines contents of a web application firewall global configuration
    • Method Detail

      • defaultCustomBlockResponseBody

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultCustomBlockResponseBody()
        Returns:
        If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
      • defaultCustomBlockResponseStatusCode

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> defaultCustomBlockResponseStatusCode()
        Returns:
        If the action type is block, this field defines the default customer overridable http response status code.
      • defaultRedirectUrl

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> defaultRedirectUrl()
        Returns:
        If action type is redirect, this field represents the default redirect URL for the client.
      • enabledState

        public java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​PolicyEnabledState>>> enabledState()
        Returns:
        describes if the policy is in enabled state or disabled state
      • mode

        public java.util.Optional<com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​PolicyMode>>> mode()
        Returns:
        Describes if it is in detection mode or prevention mode at policy level.