interface CustomPolicyDetailsProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Config.CfnConfigRule.CustomPolicyDetailsProperty | 
|  Java | software.amazon.awscdk.services.config.CfnConfigRule.CustomPolicyDetailsProperty | 
|  Python | aws_cdk.aws_config.CfnConfigRule.CustomPolicyDetailsProperty | 
|  TypeScript | @aws-cdk/aws-config»CfnConfigRule»CustomPolicyDetailsProperty | 
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 * as config from '@aws-cdk/aws-config';
const customPolicyDetailsProperty: config.CfnConfigRule.CustomPolicyDetailsProperty = {
  enableDebugLogDelivery: false,
  policyRuntime: 'policyRuntime',
  policyText: 'policyText',
};
Properties
| Name | Type | Description | 
|---|---|---|
| enable | boolean | IResolvable | The boolean expression for enabling debug logging for your AWS Config Custom Policy rule. | 
| policy | string | The runtime system for your AWS Config Custom Policy rule. | 
| policy | string | The policy definition containing the logic for your AWS Config Custom Policy rule. | 
enableDebugLogDelivery?
Type:
boolean | IResolvable
(optional)
The boolean expression for enabling debug logging for your AWS Config Custom Policy rule.
The default value is false .
policyRuntime?
Type:
string
(optional)
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 .
policyText?
Type:
string
(optional)
The policy definition containing the logic for your AWS Config Custom Policy rule.
