Interface CustomPolicyDetails.Builder

  • Method Details

    • policyRuntime

      CustomPolicyDetails.Builder policyRuntime(String policyRuntime)

      The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.

      Parameters:
      policyRuntime - The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyText

      CustomPolicyDetails.Builder policyText(String policyText)

      The policy definition containing the logic for your Config Custom Policy rule.

      Parameters:
      policyText - The policy definition containing the logic for your Config Custom Policy rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enableDebugLogDelivery

      CustomPolicyDetails.Builder enableDebugLogDelivery(Boolean enableDebugLogDelivery)

      The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.

      Parameters:
      enableDebugLogDelivery - The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.