interface CustomPolicyDetailsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Config.CfnConfigRule.CustomPolicyDetailsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconfig#CfnConfigRule_CustomPolicyDetailsProperty |
![]() | software.amazon.awscdk.services.config.CfnConfigRule.CustomPolicyDetailsProperty |
![]() | aws_cdk.aws_config.CfnConfigRule.CustomPolicyDetailsProperty |
![]() | aws-cdk-lib » aws_config » CfnConfigRule » CustomPolicyDetailsProperty |
Provides the CustomPolicyDetails, the rule owner ( AWS
for managed rules, CUSTOM_POLICY
for Custom Policy rules, and CUSTOM_LAMBDA
for Custom Lambda rules), the rule identifier, and the events that cause the evaluation of your AWS resources.
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
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.