aws-cdk-lib.aws_config.CfnConfigRule.CustomPolicyDetailsProperty

interface CustomPolicyDetailsProperty

LanguageType name
.NETAmazon.CDK.AWS.Config.CfnConfigRule.CustomPolicyDetailsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconfig#CfnConfigRule_CustomPolicyDetailsProperty
Javasoftware.amazon.awscdk.services.config.CfnConfigRule.CustomPolicyDetailsProperty
Pythonaws_cdk.aws_config.CfnConfigRule.CustomPolicyDetailsProperty
TypeScript aws-cdk-lib » 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 { aws_config as config } from 'aws-cdk-lib';
const customPolicyDetailsProperty: config.CfnConfigRule.CustomPolicyDetailsProperty = {
  enableDebugLogDelivery: false,
  policyRuntime: 'policyRuntime',
  policyText: 'policyText',
};

Properties

NameTypeDescription
enableDebugLogDelivery?boolean | IResolvableThe boolean expression for enabling debug logging for your AWS Config Custom Policy rule.
policyRuntime?stringThe runtime system for your AWS Config Custom Policy rule.
policyText?stringThe 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.