Interface CfnConfigRule.CustomPolicyDetailsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigRule.CustomPolicyDetailsProperty.Jsii$Proxy
Enclosing class:
CfnConfigRule

@Stability(Stable) public static interface CfnConfigRule.CustomPolicyDetailsProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.config.*;
 CustomPolicyDetailsProperty customPolicyDetailsProperty = CustomPolicyDetailsProperty.builder()
         .enableDebugLogDelivery(false)
         .policyRuntime("policyRuntime")
         .policyText("policyText")
         .build();
 
  • 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()
      Returns:
      a CfnConfigRule.CustomPolicyDetailsProperty.Builder of CfnConfigRule.CustomPolicyDetailsProperty