Interface CfnConfigRule.CustomPolicyDetailsProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnConfigRule.CustomPolicyDetailsProperty extends
Provides the runtime system, policy definition, and whether debug logging enabled.

You can specify the following CustomPolicyDetails parameter values only for AWS Config Custom Policy rules.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CustomPolicyDetailsProperty customPolicyDetailsProperty = CustomPolicyDetailsProperty.builder()
  • Method Details

    • getEnableDebugLogDelivery

      @Stability(Stable) @Nullable default Object getEnableDebugLogDelivery()
      The boolean expression for enabling debug logging for your AWS Config Custom Policy rule.

      The default value is false .

    • getPolicyRuntime

      @Stability(Stable) @Nullable default String getPolicyRuntime()
      The runtime system for your AWS Config Custom Policy rule.

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

    • getPolicyText

      @Stability(Stable) @Nullable default String getPolicyText()
      The policy definition containing the logic for your AWS Config Custom Policy rule.
    • builder

      @Stability(Stable) static CfnConfigRule.CustomPolicyDetailsProperty.Builder builder()
      a CfnConfigRule.CustomPolicyDetailsProperty.Builder of CfnConfigRule.CustomPolicyDetailsProperty