Class CfnConfigRule.CustomPolicyDetailsProperty
Provides the runtime system, policy definition, and whether debug logging enabled.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public class CustomPolicyDetailsProperty : Object, CfnConfigRule.ICustomPolicyDetailsProperty
Syntax (vb)
Public Class CustomPolicyDetailsProperty
Inherits Object
Implements CfnConfigRule.ICustomPolicyDetailsProperty
Remarks
You can specify the following CustomPolicyDetails parameter values only for AWS Config Custom Policy rules.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Config;
var customPolicyDetailsProperty = new CustomPolicyDetailsProperty {
EnableDebugLogDelivery = false,
PolicyRuntime = "policyRuntime",
PolicyText = "policyText"
};
Synopsis
Constructors
CustomPolicyDetailsProperty() |
Properties
EnableDebugLogDelivery | The boolean expression for enabling debug logging for your AWS Config Custom Policy rule. |
PolicyRuntime | The runtime system for your AWS Config Custom Policy rule. |
PolicyText | The policy definition containing the logic for your AWS Config Custom Policy rule. |
Constructors
CustomPolicyDetailsProperty()
public CustomPolicyDetailsProperty()
Properties
EnableDebugLogDelivery
The boolean expression for enabling debug logging for your AWS Config Custom Policy rule.
public object EnableDebugLogDelivery { get; set; }
Property Value
System.Object
Remarks
PolicyRuntime
The runtime system for your AWS Config Custom Policy rule.
public string PolicyRuntime { get; set; }
Property Value
System.String
Remarks
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
The policy definition containing the logic for your AWS Config Custom Policy rule.
public string PolicyText { get; set; }
Property Value
System.String